diff options
author | Toshi Kani <[email protected]> | 2016-05-10 10:23:53 -0600 |
---|---|---|
committer | Vishal Verma <[email protected]> | 2016-05-17 00:44:11 -0600 |
commit | 2d96afc8f70ef86c66a0b5d80c24a27d6dd13df3 (patch) | |
tree | 094e60ebc2d1ecd365c8d2e38a1502d0e6c36999 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 2af3a8159cd204fc8437ed2f75863f0fb930f0d0 (diff) |
block: Add bdev_dax_supported() for dax mount checks
DAX imposes additional requirements to a device. Add
bdev_dax_supported() which performs all the precondition checks
necessary for filesystem to mount the device with dax option.
Also add a new check to verify if a partition is aligned by 4KB.
When a partition is unaligned, any dax read/write access fails,
except for metadata update.
Signed-off-by: Toshi Kani <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
Cc: Andreas Dilger <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Boaz Harrosh <[email protected]>
Signed-off-by: Vishal Verma <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions