Re: [dm-devel] [PATCH 1/3] dm: don't grab target io reference in dm_zone_map_bio

2022-04-10 Thread Ming Lei
On Mon, Apr 11, 2022 at 09:50:57AM +0900, Damien Le Moal wrote: > On 4/11/22 09:36, Ming Lei wrote: > > On Mon, Apr 11, 2022 at 09:18:56AM +0900, Damien Le Moal wrote: > >> On 4/9/22 02:12, Ming Lei wrote: > >>> dm_zone_map_bio() is only called from __map_bio in which the io's > >>> reference is

Re: [dm-devel] [PATCH 1/3] dm: don't grab target io reference in dm_zone_map_bio

2022-04-10 Thread Ming Lei
On Mon, Apr 11, 2022 at 09:18:56AM +0900, Damien Le Moal wrote: > On 4/9/22 02:12, Ming Lei wrote: > > dm_zone_map_bio() is only called from __map_bio in which the io's > > reference is grabbed already, and the reference won't be released > > until the bio is submitted, so no necessary to do it

[dm-devel] Patch "dm ioctl: prevent potential spectre v1 gadget" has been added to the 4.9-stable tree

2022-04-10 Thread Sasha Levin
This is a note to let you know that I've just added the patch titled dm ioctl: prevent potential spectre v1 gadget to the 4.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

[dm-devel] Patch "dm ioctl: prevent potential spectre v1 gadget" has been added to the 4.14-stable tree

2022-04-10 Thread Sasha Levin
This is a note to let you know that I've just added the patch titled dm ioctl: prevent potential spectre v1 gadget to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

[dm-devel] Patch "dm ioctl: prevent potential spectre v1 gadget" has been added to the 4.19-stable tree

2022-04-10 Thread Sasha Levin
This is a note to let you know that I've just added the patch titled dm ioctl: prevent potential spectre v1 gadget to the 4.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Re: [dm-devel] [PATCH 26/27] block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARD

2022-04-10 Thread Christoph Hellwig
On Sat, Apr 09, 2022 at 10:32:52PM +0800, Coly Li wrote: >> Acked-by: Coly Li [drbd] > > Hi Christoph, > > My ACK is for bcache, not drbd here. Fixed. -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel

Re: [dm-devel] [PATCH 24/27] block: remove QUEUE_FLAG_DISCARD

2022-04-10 Thread Christoph Hellwig
On Sat, Apr 09, 2022 at 10:15:33AM +0200, Christoph Böhmwalder wrote: > On 09.04.22 06:50, Christoph Hellwig wrote: >> Just use a non-zero max_discard_sectors as an indicator for discard >> support, similar to what is done for write zeroes. >> >> The only places where needs special attention is