]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: cleanup write_orphan_inodes
authorChao Yu <chao2.yu@samsung.com>
Mon, 13 Jul 2015 09:44:25 +0000 (17:44 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Aug 2015 21:09:59 +0000 (14:09 -0700)
commit91cc497e8a565c67fa3d8e77a2d3c2d53a7ddff2
treeb6a426647d892ec8363d7832910c5fc505fc50ad
parent37d11ae119e826aed8d24b2d9054ba164ff0b6a9
f2fs: cleanup write_orphan_inodes

Previously, since 'commit 7917f3e08cf5 ("f2fs: move grabing orphan
pages out of protection region")' was committed, in write_orphan_inodes(),
we will grab all meta page in a batch before we use them under spinlock,
so that we can avoid large time delay of grabbing meta pages under
spinlock.

Now, 'commit fa8472b42e54 ("f2fs: revmove spin_lock for
write_orphan_inodes")' remove the spinlock in write_orphan_inodes,
so there is no issue we describe above, we'd better recover to move
the grab operation to original place for readability.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c