Home
last modified time | relevance | path

Searched hist:"65 d33fd7a6e4aaf9cd6577555d0b3c18fbefe415" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/btrfs/
H A Ddisk-io.cdiff 65d33fd7a6e4aaf9cd6577555d0b3c18fbefe415 Tue Apr 22 11:13:51 CEST 2014 Qu Wenruo <quwenruo@cn.fujitsu.com> btrfs: Add check to avoid cleanup roots already in fs_info->dead_roots.

Current btrfs_orphan_cleanup will also cleanup roots which is already in
fs_info->dead_roots without protection.
This will have conditional race with fs_info->cleaner_kthread.

This patch will use refs in root->root_item to detect roots in
dead_roots and avoid conflicts.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>