diff options
author | Jingbo Xu <jefflexu@linux.alibaba.com> | 2023-06-13 11:40:07 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-20 21:49:23 +0300 |
commit | 12629621669b239445727256d1a5dab616b30deb (patch) | |
tree | f1aea1b4d235f0faf6a23c8b2deecec34bd7cfef /scripts/gdb/linux/tasks.py | |
parent | c576c4bf9ecfa3fb9f7b11681cc2f60aba5276c4 (diff) | |
download | linux-12629621669b239445727256d1a5dab616b30deb.tar.xz |
block: disallow Persistent Reservation on partitions
Refuse Persistent Reservation operations on partitions as reservation
on partitions doesn't make sense.
Besides, introduce blkdev_pr_allowed() helper, where more policies could
be placed here later.
Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230613084008.93795-2-jefflexu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions