From: Christoph Hellwig <hch@lst.de> To: axboe@kernel.dk, martin.petersen@oracle.com, philipp.reisner@linbit.com, lars.ellenberg@linbit.com, target-devel@vger.kernel.org Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, drbd-dev@lists.linbit.com, dm-devel@redhat.com Subject: remove REQ_OP_WRITE_SAME Date: Wed, 12 Apr 2017 10:48:01 +0200 [thread overview] Message-ID: <20170412084809.8245-1-hch@lst.de> (raw) Now that we are using REQ_OP_WRITE_ZEROES for all zeroing needs in the kernel there is very little use left for REQ_OP_WRITE_SAME. We only have two callers left, and both just export optional protocol features to remote systems: DRBD and the target code. For the target code the only real use case was zeroing offload, which is kept with this series, and for DRBD I suspect the same based on the usage. git://git.infradead.org/users/hch/block.git delete-write-same Gitweb: http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/delete-write-same Changes from RFC: - add zeroing offload for the SCSI target.
WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> To: axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org, martin.petersen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org, philipp.reisner-63ez5xqkn6DQT0dZR+AlfA@public.gmane.org, lars.ellenberg-63ez5xqkn6DQT0dZR+AlfA@public.gmane.org, target-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: linux-block-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, drbd-dev-cunTk1MwBs8qoQakbn7OcQ@public.gmane.org Subject: remove REQ_OP_WRITE_SAME Date: Wed, 12 Apr 2017 10:48:01 +0200 [thread overview] Message-ID: <20170412084809.8245-1-hch@lst.de> (raw) Now that we are using REQ_OP_WRITE_ZEROES for all zeroing needs in the kernel there is very little use left for REQ_OP_WRITE_SAME. We only have two callers left, and both just export optional protocol features to remote systems: DRBD and the target code. For the target code the only real use case was zeroing offload, which is kept with this series, and for DRBD I suspect the same based on the usage. git://git.infradead.org/users/hch/block.git delete-write-same Gitweb: http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/delete-write-same Changes from RFC: - add zeroing offload for the SCSI target.
next reply other threads:[~2017-04-12 8:48 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-04-12 8:48 Christoph Hellwig [this message] 2017-04-12 8:48 ` remove REQ_OP_WRITE_SAME Christoph Hellwig 2017-04-12 8:48 ` [PATCH 1/8] drbd: drop REQ_OP_WRITE_SAME support Christoph Hellwig 2017-04-12 8:48 ` [PATCH 2/8] target/iblock: convert WRITE_SAME to blkdev_issue_zeroout Christoph Hellwig 2017-04-12 8:48 ` Christoph Hellwig 2017-04-12 8:48 ` [PATCH 3/8] sd: remove write same support Christoph Hellwig 2017-04-12 8:48 ` Christoph Hellwig 2017-04-12 8:48 ` [PATCH 4/8] md: drop WRITE_SAME support Christoph Hellwig 2017-04-12 8:48 ` [PATCH 5/8] dm: remove write same support Christoph Hellwig 2017-04-12 8:48 ` [PATCH 6/8] block: remove REQ_OP_WRITE_SAME support Christoph Hellwig 2017-04-12 8:48 ` [PATCH 7/8] block: remove bio_no_advance_iter Christoph Hellwig 2017-04-12 8:48 ` [PATCH 8/8] block: use bio_has_data to check if a bio has bvecs Christoph Hellwig 2017-04-14 2:23 ` remove REQ_OP_WRITE_SAME Martin K. Petersen 2017-04-14 2:23 ` Martin K. Petersen 2017-05-05 8:57 ` Christoph Hellwig 2017-05-05 8:57 ` Christoph Hellwig 2017-05-09 2:06 ` Martin K. Petersen 2017-05-09 2:06 ` Martin K. Petersen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20170412084809.8245-1-hch@lst.de \ --to=hch@lst.de \ --cc=axboe@kernel.dk \ --cc=dm-devel@redhat.com \ --cc=drbd-dev@lists.linbit.com \ --cc=lars.ellenberg@linbit.com \ --cc=linux-block@vger.kernel.org \ --cc=linux-scsi@vger.kernel.org \ --cc=martin.petersen@oracle.com \ --cc=philipp.reisner@linbit.com \ --cc=target-devel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.