Re: [dm-devel] [RFC PATCH v5 0/4] add simple copy support

2021-04-09 Thread Chaitanya Kulkarni
On 4/9/21 17:22, Max Gurtovoy wrote: > On 2/19/2021 2:45 PM, SelvaKumar S wrote: >> This patchset tries to add support for TP4065a ("Simple Copy Command"), >> v2020.05.04 ("Ratified") >> >> The Specification can be found in following link. >> https://nvmexpress.org/wp-content/uploads/NVM-Express-1.

[dm-devel] [RFC PATCH] __dm_attach_interposer() can be static

2021-04-09 Thread kernel test robot
Reported-by: kernel test robot Signed-off-by: kernel test robot --- dm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 04142454c4eed..2a584c2103f3a 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -2679,7 +2679,7 @@ stat

Re: [dm-devel] [PATCH v8 3/4] Adds blk_interposer to md.

2021-04-09 Thread kernel test robot
Hi Sergei, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on block/for-next] [also build test WARNING on hch-configfs/for-next v5.12-rc6] [cannot apply to dm/for-next next-20210409] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

[dm-devel] [PATCH v8 1/4] Adds blk_interposer. It allows to redirect bio requests to another block device.

2021-04-09 Thread Sergei Shtepa
Signed-off-by: Sergei Shtepa --- block/genhd.c | 51 +++ fs/block_dev.c| 3 +++ include/linux/blk_types.h | 6 + include/linux/blkdev.h| 32 4 files changed, 92 insertions(+) diff --git a/block/genhd.c

[dm-devel] [PATCH v8 4/4] fix origin_map - don't split a bio for the origin device if it does not have registered snapshots.

2021-04-09 Thread Sergei Shtepa
Signed-off-by: Sergei Shtepa --- drivers/md/dm-snap.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 11890db71f3f..81e8e3bb6d25 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -2685,11 +2685,18

[dm-devel] [PATCH v8 2/4] Adds the blk_interposers logic to __submit_bio_noacct().

2021-04-09 Thread Sergei Shtepa
* The calling to blk_partition_remap() function has moved from submit_bio_checks() to submit_bio_noacct(). * The __submit_bio() and __submit_bio_noacct_mq() functions have been removed and their functionality moved to submit_bio_noacct(). * Added locking of the block device queue using the bd_inter

[dm-devel] [PATCH v8 0/4] block device interposer

2021-04-09 Thread Sergei Shtepa
I think I'm ready to suggest the next version of block device interposer (blk_interposer). It allows to redirect bio requests to other block devices. In this series of patches, I reviewed the process of attaching and detaching device mapper via blk_interposer. Now the dm-target is attached to the

[dm-devel] [PATCH v8 3/4] Adds blk_interposer to md.

2021-04-09 Thread Sergei Shtepa
* The new flag DM_INTERPOSE_FLAG allows to specify that the dm target will be attached using blk_interposer. * The [interpose] option allows to specify which device will be attached via the interposer. * The connection and disconnection of the interrupter is performed in the functions __dm_suspend(

Re: [dm-devel] [PATCH V5 00/12] block: support bio based io polling

2021-04-09 Thread Ming Lei
On Thu, Apr 01, 2021 at 10:19:15AM +0800, Ming Lei wrote: > Hi Jens, > > Add per-task io poll context for holding HIPRI blk-mq/underlying bios > queued from bio based driver's io submission context, and reuse one bio > padding field for storing 'cookie' returned from submit_bio() for these > bios.

Re: [dm-devel] [PATCH v8 0/4] block device interposer

2021-04-09 Thread Mike Snitzer
On Fri, Apr 09 2021 at 7:48am -0400, Sergei Shtepa wrote: > I think I'm ready to suggest the next version of block device interposer > (blk_interposer). It allows to redirect bio requests to other block > devices. > > In this series of patches, I reviewed the process of attaching and > detachin

Re: [dm-devel] [PATCH] libmultipath: fix memory leak in checker_cleanup_thread

2021-04-09 Thread Benjamin Marzinski
On Fri, Apr 09, 2021 at 03:15:05PM +0800, lixiaokeng wrote: > If checker_cleanup_thread is called after cleanup_checkers, > the checker_class will not be freed. > > Here, we use free_checker_class instead of checker_class_unref > in checker_cleanup_thread. > > Signed-off-by: Lixiaokeng > --- >

Re: [dm-devel] [PATCH v8 3/4] Adds blk_interposer to md.

2021-04-09 Thread kernel test robot
Hi Sergei, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on block/for-next] [also build test WARNING on hch-configfs/for-next v5.12-rc6] [cannot apply to dm/for-next next-20210409] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [dm-devel] [PATCH v8 3/4] Adds blk_interposer to md.

2021-04-09 Thread kernel test robot
Hi Sergei, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on block/for-next] [also build test WARNING on hch-configfs/for-next v5.12-rc6] [cannot apply to dm/for-next next-20210409] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

[dm-devel] [PATCH] libmultipath: fix memory leak in checker_cleanup_thread

2021-04-09 Thread lixiaokeng
If checker_cleanup_thread is called after cleanup_checkers, the checker_class will not be freed. Here, we use free_checker_class instead of checker_class_unref in checker_cleanup_thread. Signed-off-by: Lixiaokeng --- libmultipath/checkers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)