aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2019-03-11 15:02:25 -0700
committerChristoph Hellwig <[email protected]>2019-04-25 16:51:42 +0200
commit01fa017484ad98fccdeaab32db0077c574b6bd6f (patch)
tree3795515e23e65d395937f0a54f3dcd77a7b8f62a /fs/btrfs/disk-io.c
parent82bebbde02e24ad7b641eca25e632f32579ed52f (diff)
nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
If our target exposed a namespace with a block size that is greater than PAGE_SIZE, set 0 capacity on the namespace as we do not support it. This issue encountered when the nvmet namespace was backed by a tempfile. Signed-off-by: Sagi Grimberg <[email protected]> Reviewed-by: Keith Busch <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions