Jaegeuk Kim 760de7914e f2fs: avoid deadlock in f2fs_shrink_extent_tree
While handling extent trees, we can enter into a reclaiming path anytime.
If it tries to release some extent nodes in the same extent tree,
write_lock(&et->lock) would be hanged.
In order to avoid the deadlock, we can just skip it.

Note that, if it is an unreferenced tree, we should get write_lock(&et->lock)
successfully and release all of therein nodes.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2015-12-04 11:52:36 -08:00
..
2015-06-11 15:04:20 -07:00
2015-10-09 16:20:56 -07:00
2015-10-20 11:33:21 -07:00
2015-08-21 22:43:32 -07:00
2015-10-12 14:03:43 -07:00
2015-10-12 14:03:43 -07:00
2015-08-20 09:00:06 -07:00
2015-11-13 20:34:34 -05:00