Re: [dm-devel] [PATCH 7/8] dm: delay registering the gendisk

2022-07-14 Thread Yu Kuai
Hi, Christoph! 在 2022/07/07 15:20, Yu Kuai 写道: 在 2022/07/07 13:24, Christoph Hellwig 写道: On Thu, Jul 07, 2022 at 11:29:26AM +0800, Yu Kuai wrote: We found that this patch fix a nullptr crash in our test: Do you think it's ok to backport this patch(and all realted patches) to lts, or it's

Re: [dm-devel] [PATCH 2/3] dm: Start pr_reserve from the same starting path

2022-07-14 Thread Mike Christie
On 7/14/22 1:49 PM, Mike Snitzer wrote: > On Sat, Jul 09 2022 at 11:06P -0400, > Mike Christie wrote: > >> On 7/7/22 3:27 PM, Mike Christie wrote: >>> When an app does a pr_reserve it will go to whatever path we happen to >>> be using at the time. This can result in errors where the app does a

Re: [dm-devel] [PATCH 1/1] dm: add message command to disallow device open

2022-07-14 Thread Daniil Lunev
Hi Mike, Thank you for your response. I should have probably added more context to the commit message that I specified in the cover letter. The idea is to prohibit access of all userspace, including the root. The main concern here is potential system applications' vulnerabilities that can trick

Re: [dm-devel] [PATCH 0/2] multipath-tools: update docs

2022-07-14 Thread Xose Vazquez Perez
On 7/14/22 21:38, Martin Wilck wrote: On Thu, 2022-07-14 at 21:05 +0200, Xose Vazquez Perez wrote: Xose Vazquez Perez (2):   multipath-tools: update devel repo info in README.md   multipath-tools: delete README.alua Why complete delete it? It was written five years ago, and now maybe it

[dm-devel] [PATCH] multipath-tools: add ALUA info to README.md

2022-07-14 Thread Xose Vazquez Perez
Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- README.md | 28 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index dcf51f20..2322082c 100644 --- a/README.md +++

Re: [dm-devel] [PATCH 1/1] dm: add message command to disallow device open

2022-07-14 Thread Mike Snitzer
On Sun, Jul 03 2022 at 8:02P -0400, Daniil Lunev wrote: > A message can be passed to device mapper to prohibit open on a certain > mapped device. This makes possible to disallow userspace access to > raw swapped data if the system uses device mapper to encrypt it at rest. > > Signed-off-by:

[dm-devel] [PATCH 1/2] multipath-tools: update devel repo info in README.md

2022-07-14 Thread Xose Vazquez Perez
Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- README.md | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f06f8cea..dcf51f20 100644 --- a/README.md +++ b/README.md

[dm-devel] [PATCH 2/2] multipath-tools: delete README.alua

2022-07-14 Thread Xose Vazquez Perez
Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- README.alua | 24 1 file changed, 24 deletions(-) delete mode 100644 README.alua diff --git a/README.alua b/README.alua deleted file mode 100644

[dm-devel] [PATCH 0/2] multipath-tools: update docs

2022-07-14 Thread Xose Vazquez Perez
Xose Vazquez Perez (2): multipath-tools: update devel repo info in README.md multipath-tools: delete README.alua README.alua | 24 README.md | 10 +++--- 2 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 README.alua Cc: Martin Wilck Cc:

Re: [dm-devel] [PATCH 2/3] dm: Start pr_reserve from the same starting path

2022-07-14 Thread Mike Snitzer
On Sat, Jul 09 2022 at 11:06P -0400, Mike Christie wrote: > On 7/7/22 3:27 PM, Mike Christie wrote: > > When an app does a pr_reserve it will go to whatever path we happen to > > be using at the time. This can result in errors where the app does a > > second pr_reserve call and expects success