[RFC PATCH v2 3/3] dm: expand valid types for dm-ioctl

2018-11-20 Thread Huaisheng Ye
From: Huaisheng Ye If use DAX way to mount the origin device of dm_snapshot, when merging back snapshot to origin, system call table_load during the construction of snapshot-merge will try to detect new dm_table's type equals to the existed md's type or not. The existed type equals to

[RFC PATCH v2 2/3] dm: expand hc_map in mapped_device for lack of map

2018-11-20 Thread Huaisheng Ye
From: Huaisheng Ye Sometimes dm_swap_table couldn't be used in time. For example, during the origin construction of dm-snapshot, the sys_ioctl table_load will try to detect the lower device origin-real whether support direct access or not. But origin-real md's struct dm-table pointer has not

[RFC PATCH v2 0/3] realize dax_operations for dm-snapshot

2018-11-20 Thread Huaisheng Ye
From: Huaisheng Ye Changes v1->v2: Add NULL funtions for origin_dax_direct_access and origin_dax_copy_from/to_iter in order to avoid building error when CONFIG_DAX_DRIVER has NOT been enabled. [v1]: https://lkml.org/lkml/2018/11/20/759 This series patches are used to

[RFC PATCH v2 1/3] dm: enable dax_operations for dm-snapshot

2018-11-20 Thread Huaisheng Ye
From: Huaisheng Ye Reconstruct origin_dax_direct_access and expand functions origin_dax_copy_to/from_iter for DAX operations of dm-snapshot. Here is the call trace of origin_dax_copy_to_iter, origin_dax_copy_to_iter will callin dm-linear (-real) for further dax_operation. [518597.924019] Call

Re: [Ksummit-discuss] [RFC PATCH 3/3] libnvdimm, MAINTAINERS: Subsystem Profile

2018-11-20 Thread Dan Williams
On Tue, Nov 20, 2018 at 12:09 AM Jani Nikula wrote: > > On Sun, 18 Nov 2018, Mauro Carvalho Chehab wrote: > > Hmm.. Perhaps the subsystem profile should point to IRC channels if any? > > Several subsystems use them in order to provide newbies some directions > > and to discuss other development

[RFC PATCH 1/3] dm: enable dax_operations for dm-snapshot

2018-11-20 Thread Huaisheng Ye
From: Huaisheng Ye Reconstruct origin_dax_direct_access and expand functions origin_dax_copy_to/from_iter for DAX operations of dm-snapshot. Here is the call trace of origin_dax_copy_to_iter, origin_dax_copy_to_iter will callin dm-linear (-real) for further dax_operation. [518597.924019] Call

[RFC PATCH 3/3] dm: expand valid types for dm-ioctl

2018-11-20 Thread Huaisheng Ye
From: Huaisheng Ye If use DAX way to mount the origin device of dm_snapshot, when merging back snapshot to origin, system call table_load during the construction of snapshot-merge will try to detect new dm_table's type equals to the existed md's type or not. The existed type equals to

[RFC PATCH 0/3] realize dax_operations for dm-snapshot

2018-11-20 Thread Huaisheng Ye
From: Huaisheng Ye This series patches are used to realize the dax_operations for dm-snapshot with persistent memory device. Here are the steps about how to verify the function. 1. Configure the persistent memory to fs-dax mode and create namespace with ndctl; 2. find them in /dev; # ndctl

Re: [Ksummit-discuss] [RFC PATCH 3/3] libnvdimm, MAINTAINERS: Subsystem Profile

2018-11-20 Thread Jani Nikula
On Sun, 18 Nov 2018, Mauro Carvalho Chehab wrote: > Hmm.. Perhaps the subsystem profile should point to IRC channels if any? > Several subsystems use them in order to provide newbies some directions > and to discuss other development issues. MAINTAINERS: C: URI for chat protocol, server