Re: [PATCH 01/29] nvdimm/pmem: move dax_attribute_group from dax to pmem

2021-11-18 Thread Christoph Hellwig
On Wed, Nov 17, 2021 at 09:44:25AM -0800, Dan Williams wrote: > On Tue, Nov 9, 2021 at 12:33 AM Christoph Hellwig wrote: > > > > dax_attribute_group is only used by the pmem driver, and can avoid the > > completely pointless lookup by the disk name if moved there. This > > leaves just a single ca

Re: [PATCH 02/29] dm: make the DAX support dependend on CONFIG_FS_DAX

2021-11-18 Thread Christoph Hellwig
On Wed, Nov 17, 2021 at 09:23:44AM -0800, Dan Williams wrote: > Applied, fixed the spelling of 'dependent' in the subject and picked > up Mike's Ack from the previous send: > > https://lore.kernel.org/r/yyasbvuorceds...@redhat.com > > Christoph, any particular reason you did not pick up the tags

[dm-devel] [PATCH] multipathd: avoid unnecessary path read-only reloads

2021-11-18 Thread Benjamin Marzinski
A mulitpath device can only be reloaded read/write when all paths are read/write. Also, whenever a read-only device is rescanned, the scsi subsystem will first unconditionally issue a uevent with DISK_RO=0 before checking the read-only status, and if it the device is still read-only, issuing anothe

[dm-devel] [PATCH] dm integrity: Use struct_group() to zero struct journal_sector

2021-11-18 Thread Kees Cook
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memset(), avoid intentionally writing across neighboring fields. Add struct_group() to mark region of struct journal_sector that should be initialized to zero. Signed-off-by: Kees Cook --- drivers/m

Re: [dm-devel] [PATCH 5/5] add prflag to path

2021-11-18 Thread Benjamin Marzinski
On Tue, Nov 16, 2021 at 10:01:15PM +0800, lixiaokeng wrote: > The update_map will frequently be called and there will be > unnecessary checks of reseravtion. We add prflag to path > to avoid this. > > The pp->state changes from others to up or ghost, the > mpath_pr_event_handle should be called. T

Re: [dm-devel] [PATCH v3 0/4] Add "reconfigure all" multipath command

2021-11-18 Thread Benjamin Marzinski
On Thu, Nov 18, 2021 at 02:56:15PM +, Martin Wilck wrote: > On Wed, 2021-11-17 at 18:07 -0600, Benjamin Marzinski wrote: > > This patchset is supposed to replace Martin's > > > > multipathd: add "force_reconfigure" option > > > > patch from his uxlsnr overhaul patchset. It also makes the defa