From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 861FAC47254 for ; Wed, 6 May 2020 02:58:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 65C4720757 for ; Wed, 6 May 2020 02:58:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="Cl8iz+4Z" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726533AbgEFC63 (ORCPT ); Tue, 5 May 2020 22:58:29 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:37458 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbgEFC63 (ORCPT ); Tue, 5 May 2020 22:58:29 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0462rhfB081229; Wed, 6 May 2020 02:58:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2020-01-29; bh=Q7WV+D+LBbN9faCIDOEXUFi9i53mEEOI0Nkz2Fxdefk=; b=Cl8iz+4ZdLjBUH/jEiY61wVmHiCvhO1HWYYqnr1ckcdXC7zJEmWOtoZkRummiyWWXd9Y hj+S2lInN38QN6LMIfFfto8DZSHdZc7hbowNdAH+KY1PRWhIi3f7ser4pDL/xMyqKGkS Evo1LHb4++MnEBaE6ukrus2lAQOltU73Wj+sIEyoA5DRgg+RPdMaPqzupS5/p4cX1/6C 18Oz07Dfu64xGEvvgtL9oYFXnHbue8KuigGY317Sz6EPp+BnLBjk2H6iY0hA1j0w3uEG oqurJY36bHjRY0EOq0YgqM3PlYOvwzs753VBU+HNiEsEYf0fdLiub8CghFnVw1WnmOws 1Q== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 30s1gn7sjb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 May 2020 02:58:20 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0462qlSb057531; Wed, 6 May 2020 02:58:19 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 30sjdudeve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 May 2020 02:58:19 +0000 Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0462wHlC011515; Wed, 6 May 2020 02:58:17 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 05 May 2020 19:58:16 -0700 To: Johannes Thumshirn Cc: Jens Axboe , Christoph Hellwig , linux-block , Damien Le Moal , Keith Busch , "linux-scsi @ vger . kernel . org" , "Martin K . Petersen" , "linux-fsdevel @ vger . kernel . org" , Christoph Hellwig , Bart Van Assche , Hannes Reinecke Subject: Re: [PATCH v9 07/11] scsi: sd_zbc: factor out sanity checks for zoned commands From: "Martin K. Petersen" Organization: Oracle Corporation References: <20200428104605.8143-1-johannes.thumshirn@wdc.com> <20200428104605.8143-8-johannes.thumshirn@wdc.com> Date: Tue, 05 May 2020 22:58:13 -0400 In-Reply-To: <20200428104605.8143-8-johannes.thumshirn@wdc.com> (Johannes Thumshirn's message of "Tue, 28 Apr 2020 19:46:01 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9612 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 mlxscore=0 bulkscore=0 adultscore=0 phishscore=0 mlxlogscore=981 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005060021 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9612 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 mlxscore=0 spamscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 phishscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005060021 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Johannes, > Factor sanity checks for zoned commands from > sd_zbc_setup_zone_mgmt_cmnd(). > > This will help with the introduction of an emulated ZONE_APPEND > command. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering