Re: [PATCH v3 2/3] btrfs: Split remaining space to discard in chunks
From: Qu Wenruo
Date: Tue Sep 03 2024 - 05:43:58 EST
在 2024/9/3 16:57, Christoph Hellwig 写道:
You'll also need add a EXPORT_SYMBOL_GPL for blk_alloc_discard_bio.
Just curious, shouldn't blk_ioctl_discard() also check frozen status to
prevent block device trim from block suspension?
And if that's the case, would it make more sense to move the signal and
freezing checks into blk_alloc_discard_bio()?
Thanks,
Qu