From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: RFC: always use REQ_OP_WRITE_ZEROES for zeroing offload Date: Thu, 30 Mar 2017 11:22:21 -0400 Message-ID: References: <20170323143341.31549-1-hch@lst.de> <20170330151257.GA910@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20170330151257.GA910@redhat.com> (Mike Snitzer's message of "Thu, 30 Mar 2017 11:12:58 -0400") Sender: linux-block-owner@vger.kernel.org To: Mike Snitzer Cc: Christoph Hellwig , axboe@kernel.dk, martin.petersen@oracle.com, agk@redhat.com, shli@kernel.org, philipp.reisner@linbit.com, lars.ellenberg@linbit.com, linux-block@vger.kernel.org, linux-raid@vger.kernel.org, dm-devel@redhat.com, linux-scsi@vger.kernel.org, drbd-dev@lists.linbit.com List-Id: dm-devel.ids Mike Snitzer writes: > Would be very useful, particularly for testing, if > drivers/scsi/scsi_debug.c were updated to support WRITE ZEROES. There is no WRITE ZEROES in SCSI. You should be able to get the right behavior with lbpws=1 lbprz=1. -- Martin K. Petersen Oracle Linux Engineering From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by mail09.linbit.com (LINBIT Mail Daemon) with ESMTP id CEAB8105633D for ; Thu, 30 Mar 2017 17:22:29 +0200 (CEST) To: Mike Snitzer From: "Martin K. Petersen" References: <20170323143341.31549-1-hch@lst.de> <20170330151257.GA910@redhat.com> Date: Thu, 30 Mar 2017 11:22:21 -0400 In-Reply-To: <20170330151257.GA910@redhat.com> (Mike Snitzer's message of "Thu, 30 Mar 2017 11:12:58 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: axboe@kernel.dk, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, martin.petersen@oracle.com, philipp.reisner@linbit.com, linux-block@vger.kernel.org, dm-devel@redhat.com, lars.ellenberg@linbit.com, shli@kernel.org, Christoph Hellwig , agk@redhat.com, drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] RFC: always use REQ_OP_WRITE_ZEROES for zeroing offload List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mike Snitzer writes: > Would be very useful, particularly for testing, if > drivers/scsi/scsi_debug.c were updated to support WRITE ZEROES. There is no WRITE ZEROES in SCSI. You should be able to get the right behavior with lbpws=1 lbprz=1. -- Martin K. Petersen Oracle Linux Engineering