diff options
author | Christoph Hellwig <[email protected]> | 2024-05-06 06:20:25 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-05-07 07:29:42 -0600 |
commit | e8b4869bc78da1a71f2a2ab476caf50c1dcfeed0 (patch) | |
tree | de7b879ae94655a52d6d48a0b7909689fb4572a6 /rust/helpers/helpers.c | |
parent | 81c2168c229bab0665e862937bb476f18cff056d (diff) |
block: add a blk_alloc_discard_bio helper
Factor out a helper from __blkdev_issue_discard that chews off as much as
possible from a discard range and allocates a bio for it.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions