diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-15 07:52:53 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 04:49:59 +0300 |
commit | e3cc28ea28b5f8794db2aed24f8a0282ad2e85a2 (patch) | |
tree | 725631a2f3bff8b70df2d269576529e5c37c91de /fs/jbd2/journal.c | |
parent | 5c4b4a5c6f11c869a57c6bd977143430bc9dc43d (diff) | |
download | linux-e3cc28ea28b5f8794db2aed24f8a0282ad2e85a2.tar.xz |
block: refactor discard bio size limiting
Move all the logic to limit the discard bio size into a common helper
so that it is better documented.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Coly Li <colyli@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220415045258.199825-23-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/jbd2/journal.c')
0 files changed, 0 insertions, 0 deletions