Displaying 3 results from an estimated 3 matches for "8d89acc8b8c2".
2019 Jun 11
1
[PATCH v11 4/7] dm: enable synchronous dax
...nt type).
> >
> > Mike
> >
>
> I am sending below patch as per your suggestion. Does it look
> near to what you have in mind?
Yes, it does.. just one nit I noticed inlined below.
> diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c
> index 350cf0451456..8d89acc8b8c2 100644
> --- a/drivers/md/dm-table.c
> +++ b/drivers/md/dm-table.c
...
> @@ -1910,8 +1919,13 @@ void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
> }
> blk_queue_write_cache(q, wc, fua);
>
> - if (dm_table_supports_dax(t, PAGE_...
2019 Jun 10
2
[PATCH v11 4/7] dm: enable synchronous dax
On Mon, Jun 10 2019 at 5:07am -0400,
Pankaj Gupta <pagupta at redhat.com> wrote:
> 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.
>
> Signed-off-by: Pankaj Gupta
2019 Jun 11
0
[Qemu-devel] [PATCH v11 4/7] dm: enable synchronous dax
...actoring would take a int
> *data pointer rather than int type).
>
> Mike
>
I am sending below patch as per your suggestion. Does it look
near to what you have in mind?
Thank you,
Pankaj
===============
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c
index 350cf0451456..8d89acc8b8c2 100644
--- a/drivers/md/dm-table.c
+++ b/drivers/md/dm-table.c
@@ -881,7 +881,7 @@ void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type)
EXPORT_SYMBOL_GPL(dm_table_set_type);
/* validate the dax capability of the target device span */
-static int device_supports_dax(struct dm_targe...