diff options
| author | Vivek Goyal <[email protected]> | 2017-07-26 13:35:09 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2017-07-26 19:55:44 +0000 |
| commit | 273752c9ff03eb83856601b2a3458218bb949e46 (patch) | |
| tree | 2248ae6002c2deed099fcc0657c8665c2015d949 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | dm verity fec: fix GFP flags used with mempool_alloc() (diff) | |
| download | kernel-273752c9ff03eb83856601b2a3458218bb949e46.tar.gz kernel-273752c9ff03eb83856601b2a3458218bb949e46.zip | |
dm, dax: Make sure dm_dax_flush() is called if device supports it
Currently dm_dax_flush() is not being called, even if underlying dax
device supports write cache, because DAXDEV_WRITE_CACHE is not being
propagated up to the DM dax device.
If the underlying dax device supports write cache, set
DAXDEV_WRITE_CACHE on the DM dax device. This will cause dm_dax_flush()
to be called.
Fixes: abebfbe2f7 ("dm: add ->flush() dax operation support")
Signed-off-by: Vivek Goyal <[email protected]>
Acked-by: Dan Williams <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
