[dm-devel] [PATCH] dm integrity: Remove the unused variable bi_sector

2023-01-31 Thread Jiapeng Chong
Variable bi_sector is not effectively used, so delete it. drivers/md/dm-integrity.c:1738:13: warning: variable 'bi_sector' set but not used. Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3895 Signed-off-by: Jiapeng Chong --- drivers/md/dm-integrity.c | 7 --

Re: [dm-devel] [RFC PATCH v9 09/16] block|security: add LSM blob to block_device

2023-01-31 Thread Christoph Hellwig
On Mon, Jan 30, 2023 at 02:57:24PM -0800, Fan Wu wrote: > From: Deven Bowers > > block_device structures can have valuable security properties, > based on how they are created, and what subsystem manages them. That's a lot of cloudy talk but no real explanation. -- dm-devel mailing list dm-deve

Re: [dm-devel] [PATCH 0/2] dm era: avoid deadlock when swapping table with dm-era target

2023-01-31 Thread Nikos Tsironis
On 1/26/23 02:06, Mike Snitzer wrote: On Wed, Jan 25 2023 at 7:37P -0500, Nikos Tsironis wrote: On 1/23/23 19:34, Mike Snitzer wrote: On Thu, Jan 19 2023 at 4:36P -0500, Nikos Tsironis wrote: On 1/18/23 18:28, Mike Snitzer wrote: On Wed, Jan 18 2023 at 7:29P -0500, Nikos Tsironis wrot

[dm-devel] [PATCH] md: dm-table: ensure dev_t is initialized

2023-01-31 Thread Tomas Melin
Avoid returning uninitialized value in case lookup fails. Signed-off-by: Tomas Melin --- drivers/md/dm-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 8fc44c9f746a..71c59455bf3b 100644 --- a/drivers/md/dm-table.c +++

Re: [PATCH 0/9] Documentation: correct lots of spelling errors (series 2)

2023-01-31 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (master) by Paolo Abeni : On Sun, 29 Jan 2023 15:10:44 -0800 you wrote: > Maintainers of specific kernel subsystems are only Cc-ed on their > respective patches, not the entire series. [if all goes well] > > These patches are based on linux-ne

Re: [PATCH 0/9] Documentation: correct lots of spelling errors (series 2)

2023-01-31 Thread Paolo Abeni
On Tue, 2023-01-31 at 12:10 +, patchwork-bot+netdev...@kernel.org wrote: > Hello: > > This patch was applied to netdev/net-next.git (master) > by Paolo Abeni : > > On Sun, 29 Jan 2023 15:10:44 -0800 you wrote: > > Maintainers of specific kernel subsystems are only Cc-ed on their > > respectiv

[dm-devel] [PATCH 1/4] libmultipath: use select_reload_action in select_action

2023-01-31 Thread Benjamin Marzinski
Since we have a function to set the action to reload, use it. Signed-off-by: Benjamin Marzinski --- libmultipath/configure.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libmultipath/configure.c b/libmultipath/configure.c index e689f8a7..050b984a 100644 --- a/libmu

[dm-devel] [PATCH 2/4] libmultipath: select resize action even if reload is forced

2023-01-31 Thread Benjamin Marzinski
The ACT_RESIZE action is the same as the ACT_RELOAD action, except that it flushes outstanding IO because the device size is changing and the new size might be too small for some of the outstanding IO. If we've detected a size change, and a forced reload is requested, we still need to flush the IO

[dm-devel] [PATCH 4/4] libmultipath: keep renames from stopping other multipath actions

2023-01-31 Thread Benjamin Marzinski
If select_action() is called and a multipath device needs to be renamed, the code currently checks if force_reload is set, and if so, does the reload after the rename. But if force_reload isn't set, only the rename happens, regardless of what other actions are needed. This can happen if multipathd

[dm-devel] [PATCH 0/4] multipath: fix multipathd renaming issue

2023-01-31 Thread Benjamin Marzinski
If a multipath device needs to be renamed and reloaded when multipathd starts, it will only get reloaded. This can happen if the multipath configuration is different between the initramfs and regular filesystem. The only thing that can happen along with a rename is a force reload. This patchset ma

[dm-devel] [PATCH 3/4] libmultipath: cleanup ACT_CREATE code in select_action

2023-01-31 Thread Benjamin Marzinski
Combine the two separate blocks that set ACT_CREATE into one. Signed-off-by: Benjamin Marzinski --- libmultipath/configure.c | 38 +- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/libmultipath/configure.c b/libmultipath/configure.c index 6811

Re: [dm-devel] [PATCH 0/2] dm era: avoid deadlock when swapping table with dm-era target

2023-01-31 Thread Mike Snitzer
On Tue, Jan 31 2023 at 6:01P -0500, Nikos Tsironis wrote: > On 1/26/23 02:06, Mike Snitzer wrote: > > On Wed, Jan 25 2023 at 7:37P -0500, > > Nikos Tsironis wrote: > > > > > On 1/23/23 19:34, Mike Snitzer wrote: > > > > On Thu, Jan 19 2023 at 4:36P -0500, > > > > Nikos Tsironis wrote: > > >

Re: [dm-devel] [PATCH v2 00/21] blksnap - block devices snapshots module

2023-01-31 Thread Mike Snitzer
On Tue, Jan 24 2023 at 6:34P -0500, Sergei Shtepa wrote: > DearMike > > I am very glad that you noticed my patch version 2. > I'm sure your experience will help. > > On 1/17/23 22:04, Mike Snitzer wrote: > > Subject: > > Re: [PATCH v2 00/21] blksnap - block devices snapshots module > > From: >

Re: [dm-devel] [PATCH v2 02/21] block, blkfilter: Block Device Filtering Mechanism

2023-01-31 Thread Mike Snitzer
On Fri, Dec 09 2022 at 9:23P -0500, Sergei Shtepa wrote: > Allows to attach block device filters to the block devices. Kernel > modules can use this functionality to extend the capabilities of the > block layer. > > Signed-off-by: Sergei Shtepa > --- > block/bdev.c | 70 +