]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: improve recovery performance
authorJunxiao Bi <junxiao.bi@oracle.com>
Mon, 18 Jul 2016 02:57:56 +0000 (10:57 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 10 Aug 2016 21:08:22 +0000 (14:08 -0700)
commita6f09ec6badee113e6f582b73b93a51a57e56603
treeaf87bd75002ce193361e4c9787f9467c1ac3cbf1
parent7eb4b1894a8fe0501d37c32af96cfdff7e2ad98d
ocfs2: improve recovery performance

Orabug: 24308229

Journal replay will be run when do recovery for a dead node,
to avoid the stale cache impact, all blocks of dead node's
journal inode were reload from disk. This hurts the performance,
check whether one block is cached before reload it can improve
a lot performance. In my test env, the time doing recovery was
improved from 120s to 1s.

Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
fs/ocfs2/journal.c