Home
last modified time | relevance | path

Searched hist:"2 e9ee0955d3c2d3db56aa02ba6f948ba35d5e9c1" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm.hdiff 2e9ee0955d3c2d3db56aa02ba6f948ba35d5e9c1 Fri Jul 05 09:03:25 CDT 2019 Pankaj Gupta <pagupta@redhat.com> dm: enable synchronous dax

This patch sets dax device 'DAXDEV_SYNC' flag if all the target
devices of device mapper support synchrononous DAX. If device
mapper consists of both synchronous and asynchronous dax devices,
we don't set 'DAXDEV_SYNC' flag.

'dm_table_supports_dax' is refactored to pass 'iterate_devices_fn'
as argument so that the callers can pass the appropriate functions.

Suggested-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Pankaj Gupta <pagupta@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
H A Ddm-table.cdiff 2e9ee0955d3c2d3db56aa02ba6f948ba35d5e9c1 Fri Jul 05 09:03:25 CDT 2019 Pankaj Gupta <pagupta@redhat.com> dm: enable synchronous dax

This patch sets dax device 'DAXDEV_SYNC' flag if all the target
devices of device mapper support synchrononous DAX. If device
mapper consists of both synchronous and asynchronous dax devices,
we don't set 'DAXDEV_SYNC' flag.

'dm_table_supports_dax' is refactored to pass 'iterate_devices_fn'
as argument so that the callers can pass the appropriate functions.

Suggested-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Pankaj Gupta <pagupta@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
H A Ddm.cdiff 2e9ee0955d3c2d3db56aa02ba6f948ba35d5e9c1 Fri Jul 05 09:03:25 CDT 2019 Pankaj Gupta <pagupta@redhat.com> dm: enable synchronous dax

This patch sets dax device 'DAXDEV_SYNC' flag if all the target
devices of device mapper support synchrononous DAX. If device
mapper consists of both synchronous and asynchronous dax devices,
we don't set 'DAXDEV_SYNC' flag.

'dm_table_supports_dax' is refactored to pass 'iterate_devices_fn'
as argument so that the callers can pass the appropriate functions.

Suggested-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Pankaj Gupta <pagupta@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>