Re: [PATCH 0/6] btrfs: defrag/autodefrag fixes and cleanups
Qu Wenruo <[email protected]>
| Newsgroups | org.kernel.vger.linux-btrfs |
|---|---|
| Message-ID | <[email protected]> |
在 2026/6/26 04:50, [email protected] 写道: > From: Filipe Manana <[email protected]> > > There are a couple bugs related to defrag and autodefrag, one of them > reported by syzbot and the other can often be triggered by fsstress with > the mount option "-o autodefrag" (or fstests on random tests that use > fsstress with multiple processes). Details in the change logs. Reviewed-by: Qu Wenruo <[email protected]> Thanks, Qu > > Filipe Manana (6): > btrfs: defrag: fix deadlock between defrag and delalloc space reservation > btrfs: fix pending delayed iputs when using autodefrag > btrfs: defrag: use a single list for each loop in defrag_one_range() > btrfs: defrag: use auto kfree in defrag_one_range() for folios array > btrfs: defrag: use simple list_del() in defrag_collect_targets() > btrfs: defrag: remove pointless list_del_init() in defrag_one_cluster() > > fs/btrfs/defrag.c | 61 ++++++++++++++++++++++++++-------------------- > fs/btrfs/disk-io.c | 15 ++++++++++++ > 2 files changed, 49 insertions(+), 27 deletions(-) >