On 5/12/22 06:48, Ming Lei wrote:
Commit f278eb3d8178 ("block: hold ->invalidate_lock in blkdev_fallocate") adds ->invalidate_lock in blkdev_fallocate() for preventing stale data from being read during fallocate(). However, the side effect is that blkdev_fallocate() becomes serialized since blkdev_fallocate() always blocks. Add one atomic fallocate counter for allowing blkdev_fallocate() to be run concurrently so that discard/write_zero bios from different fallocate() can be submitted in parallel.
Please consider adding a "Fixes:" tag since otherwise this patch won't be integrated automatically into any of the stable kernel trees.
Thanks, Bart.