]> Git Repo - linux.git/commit
f2fs: cleanup write_orphan_inodes
authorChao Yu <[email protected]>
Mon, 13 Jul 2015 09:44:25 +0000 (17:44 +0800)
committerJaegeuk Kim <[email protected]>
Tue, 4 Aug 2015 21:09:59 +0000 (14:09 -0700)
commitbd936f840779366b61300c0f4f752dd1b52b1ca3
treeb6a426647d892ec8363d7832910c5fc505fc50ad
parent5b3391244d1c89bb4c8e1b4e4916fb4965fb71f9
f2fs: cleanup write_orphan_inodes

Previously, since 'commit 4531929e3922 ("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 d6c67a4fee86 ("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 <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
fs/f2fs/checkpoint.c
This page took 0.051677 seconds and 4 git commands to generate.