diff options
author | Christoph Hellwig <[email protected]> | 2022-07-13 07:40:25 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-08-02 17:22:53 -0600 |
commit | 1e4ea66af1db4fde5988b6ed43341872a17e390d (patch) | |
tree | 9930e86138eba0bc3a471a0ab166a58f71f23f33 /tools/perf/scripts/python/task-analyzer.py | |
parent | 1a893c2bfef46ac447eead8ea7afe417942be237 (diff) |
nvme: factor out a nvme_ns_is_readonly helper
Add a little helper to check if a namespace should be marked read-only
that uses a new is_readonly flag in the nvme_ns_info structure.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Javier González <[email protected]>
Reviewed-by: Joel Granados <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions