Thread (21 messages) 21 messages, 6 authors, 2022-02-28

Re: [PATCH 3/7] rnbd: drop WRITE_SAME support

From: Jinpu Wang <jinpu.wang@ionos.com>
Date: 2022-02-09 14:08:27
Also in: dm-devel, linux-scsi, target-devel

On Wed, Feb 9, 2022 at 3:04 PM Christoph Hellwig [off-list ref] wrote:
On Wed, Feb 09, 2022 at 11:16:13AM +0100, Jinpu Wang wrote:
quoted
Hi Christoph,


On Wed, Feb 9, 2022 at 9:28 AM Christoph Hellwig [off-list ref] wrote:
quoted
REQ_OP_WRITE_SAME was only ever submitted by the legacy Linux zeroing
code, which has switched to use REQ_OP_WRITE_ZEROES long before rnbd was
even merged.
Do you think if it makes sense to instead of removing
REQ_OP_WRITE_SAME, simply convert it to REQ_OP_WRITE_ZEROES?
Well, they have different semantics, so you can't just "convert" it.
But it might make sense to add REQ_OP_WRITE_ZEROES.
Thanks, we will add support for REQ_OP_WRITE_ZEROES later.

For this patch, I've run internal tests, works fine.

Acked-by: Jack Wang <jinpu.wang@ionos.com>
Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help