From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH 01/23] block: renumber REQ_OP_WRITE_ZEROES Date: Tue, 28 Mar 2017 16:12:46 +0000 Message-ID: <1490717553.2573.4.camel@sandisk.com> References: <20170323143341.31549-1-hch@lst.de> <20170323143341.31549-2-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20170323143341.31549-2-hch@lst.de> Content-Language: en-US Content-ID: Sender: linux-scsi-owner@vger.kernel.org To: "agk@redhat.com" , "lars.ellenberg@linbit.com" , "snitzer@redhat.com" , "hch@lst.de" , "martin.petersen@oracle.com" , "philipp.reisner@linbit.com" , "axboe@kernel.dk" , "shli@kernel.org" Cc: "linux-scsi@vger.kernel.org" , "dm-devel@redhat.com" , "drbd-dev@lists.linbit.com" , "linux-block@vger.kernel.org" , "linux-raid@vger.kernel.org" List-Id: linux-raid.ids On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > Make life easy for implementations that needs to send a data buffer > to the device (e.g. SCSI) by numbering it as a data out command. >=20 > Signed-off-by: Christoph Hellwig > --- > include/linux/blk_types.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h > index d703acb55d0f..6393c13a6498 100644 > --- a/include/linux/blk_types.h > +++ b/include/linux/blk_types.h > @@ -160,7 +160,7 @@ enum req_opf { > /* write the same sector many times */ > REQ_OP_WRITE_SAME =3D 7, > /* write the zero filled sector many times */ > - REQ_OP_WRITE_ZEROES =3D 8, > + REQ_OP_WRITE_ZEROES =3D 9, > =20 > /* SCSI passthrough using struct scsi_request */ > REQ_OP_SCSI_IN =3D 32, Hello Christoph, Since REQ_OP_WRITE_ZEROES was introduced in kernel v4.10, do we need "Cc: stable" and "Fixes: a6f0788ec2881" tags for this patch? Thanks, Bart.= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Bart Van Assche To: "agk@redhat.com" , "lars.ellenberg@linbit.com" , "snitzer@redhat.com" , "hch@lst.de" , "martin.petersen@oracle.com" , "philipp.reisner@linbit.com" , "axboe@kernel.dk" , "shli@kernel.org" CC: "linux-scsi@vger.kernel.org" , "dm-devel@redhat.com" , "drbd-dev@lists.linbit.com" , "linux-block@vger.kernel.org" , "linux-raid@vger.kernel.org" Subject: Re: [PATCH 01/23] block: renumber REQ_OP_WRITE_ZEROES Date: Tue, 28 Mar 2017 16:12:46 +0000 Message-ID: <1490717553.2573.4.camel@sandisk.com> References: <20170323143341.31549-1-hch@lst.de> <20170323143341.31549-2-hch@lst.de> In-Reply-To: <20170323143341.31549-2-hch@lst.de> Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Return-Path: Bart.VanAssche@sandisk.com List-ID: On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > Make life easy for implementations that needs to send a data buffer > to the device (e.g. SCSI) by numbering it as a data out command. >=20 > Signed-off-by: Christoph Hellwig > --- > include/linux/blk_types.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h > index d703acb55d0f..6393c13a6498 100644 > --- a/include/linux/blk_types.h > +++ b/include/linux/blk_types.h > @@ -160,7 +160,7 @@ enum req_opf { > /* write the same sector many times */ > REQ_OP_WRITE_SAME =3D 7, > /* write the zero filled sector many times */ > - REQ_OP_WRITE_ZEROES =3D 8, > + REQ_OP_WRITE_ZEROES =3D 9, > =20 > /* SCSI passthrough using struct scsi_request */ > REQ_OP_SCSI_IN =3D 32, Hello Christoph, Since REQ_OP_WRITE_ZEROES was introduced in kernel v4.10, do we need "Cc: stable" and "Fixes: a6f0788ec2881" tags for this patch? Thanks, Bart.=