summaryrefslogtreecommitdiff
path: root/fs/inode.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-05-17 01:38:53 +0300
committerJens Axboe <axboe@kernel.dk>2023-05-19 05:20:43 +0300
commit3e49c1e4a6152b6ad758a28ecce8fb470f46f6ed (patch)
tree763dd0d2aa3e9030897a7239fac6aeebec63e8bd /fs/inode.c
parenta036e698c231ba884daa37196be3ac6c6dce1d75 (diff)
downloadlinux-3e49c1e4a6152b6ad758a28ecce8fb470f46f6ed.tar.xz
block: BFQ: Add several invariant checks
If anything goes wrong with the counters that track the number of requests, I/O locks up. Make such scenarios easier to debug by adding invariant checks for the request counters. Additionally, check that BFQ queues are empty before these are freed. Cc: Jan Kara <jack@suse.cz> Cc: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230516223853.1385255-1-bvanassche@acm.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions