diff options
author | 2019-04-24 11:43:23 -0700 | |
---|---|---|
committer | 2019-04-25 16:51:19 +0200 | |
commit | 525ec495e021068aa8635a0e18ff60695f5b1f4f (patch) | |
tree | 3d18692f443f67dfe4aeef38f5d3608b2a28f92e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvmet: include <linux/scatterlist.h> (diff) | |
download | linux-dev-525ec495e021068aa8635a0e18ff60695f5b1f4f.tar.xz linux-dev-525ec495e021068aa8635a0e18ff60695f5b1f4f.zip |
nvmet-file: clamp-down file namespace lba_shift
When the backing file is a tempfile for example, the inode i_blkbits
can be 1M in size which causes problems for hosts to support as the
disk block size. Instead, expose the minimum between i_blkbits and
12 (4K sector size).
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by:- Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions