diff options
author | Toshi Kani <[email protected]> | 2016-06-23 17:05:50 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-07-20 21:01:01 -0600 |
commit | 163d4baaebe39c0e56d9c08597eab7b3ae0bf334 (patch) | |
tree | a2874ed41e21f5163e45e6fbb177d94b13cb38ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | df5c82a8dcca1a5f23fefebae973d2dd0bf5aa11 (diff) |
block: add QUEUE_FLAG_DAX for devices to advertise their DAX support
Currently, presence of direct_access() in block_device_operations
indicates support of DAX on its block device. Because
block_device_operations is instantiated with 'const', this DAX
capablity may not be enabled conditinally.
In preparation for supporting DAX to device-mapper devices, add
QUEUE_FLAG_DAX to request_queue flags to advertise their DAX
support. This will allow to set the DAX capability based on how
mapped device is composed.
Signed-off-by: Toshi Kani <[email protected]>
Acked-by: Dan Williams <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions