diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2019-03-12 01:02:25 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-04-25 17:51:42 +0300 |
commit | 01fa017484ad98fccdeaab32db0077c574b6bd6f (patch) | |
tree | 3795515e23e65d395937f0a54f3dcd77a7b8f62a /scripts/gdb/linux/utils.py | |
parent | 82bebbde02e24ad7b641eca25e632f32579ed52f (diff) | |
download | linux-01fa017484ad98fccdeaab32db0077c574b6bd6f.tar.xz |
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 <sagi@grimberg.me>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions