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 991DAC47256 for ; Wed, 6 May 2020 03:23:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7715320752 for ; Wed, 6 May 2020 03:23:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="R2FxuQSz" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726763AbgEFDXB (ORCPT ); Tue, 5 May 2020 23:23:01 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:45258 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbgEFDXB (ORCPT ); Tue, 5 May 2020 23:23:01 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0463JJND137618; Wed, 6 May 2020 03:22:54 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=M7o3mveFnkdwnbj66a4mQn32Sn6aJFfylurYE915t2Y=; b=R2FxuQSzfkTmLsz94hfxwC6rGAv6tmx/4EHzOGam+zFjEQz1G5JLWv8+3cFHtoejSgr6 3s7ZVJySUWGtja+iVQMrEDjMXkp4x4TPo2UrjOYz9wi3p1DkdGQ6ezi6vuwl8wqtNTka lRwh+631QVmxLg0Qe/DZaAaStFQFo1JBxBITd+AtLPnI951Z0PfrK2jpOyzMDAPTHgF3 zLAtE/FFW+ooU/GI7cBUgK3hIYskYLYjnE30L8+fi9L7o/R1kLw+V0z5NNAht97Me5E0 S1xZ2S/Ef2OxQD9AusC4A8zf81InrbT4tYoMkGTQNlovJu99DTLYwZc/pXLlLITxEOd1 +w== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 30s0tmg1et-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 May 2020 03:22:54 +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 0463Glta139451; Wed, 6 May 2020 03:22:54 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 30sjdueggc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 May 2020 03:22:54 +0000 Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0463MqLk012334; Wed, 6 May 2020 03:22:52 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 20:22:52 -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 Subject: Re: [PATCH v9 09/11] null_blk: Support REQ_OP_ZONE_APPEND From: "Martin K. Petersen" Organization: Oracle Corporation References: <20200428104605.8143-1-johannes.thumshirn@wdc.com> <20200428104605.8143-10-johannes.thumshirn@wdc.com> Date: Tue, 05 May 2020 23:22:49 -0400 In-Reply-To: <20200428104605.8143-10-johannes.thumshirn@wdc.com> (Johannes Thumshirn's message of "Tue, 28 Apr 2020 19:46:03 +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=826 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005060025 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9612 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 suspectscore=0 phishscore=0 clxscore=1015 bulkscore=0 mlxlogscore=864 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005060025 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Johannes, > Support REQ_OP_ZONE_APPEND requests for null_blk devices with zoned > mode enabled. Use the internally tracked zone write pointer position > as the actual write position and return it using the command request > __sector field in the case of an mq device and using the command BIO > sector in the case of a BIO device. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering