This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".
The branch, master has been updated
00574da xfs: introduce object readahead to log recovery
8d1d408 xfs: Simplify xfs_ail_min() with list_first_entry_or_null()
46677e6 xfs: Register hotcpu notifier after initialization
from 3e3c51cee9a07d67e3910cc514867b56ac60ec94 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 00574da199291751bfaaee15ad0f42a7144276ad
Author: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
Date: Wed Aug 14 15:16:03 2013 +0800
xfs: introduce object readahead to log recovery
It can take a long time to run log recovery operation because it is
single threaded and is bound by read latency. We can find that it took
most of the time to wait for the read IO to occur, so if one object
readahead is introduced to log recovery, it will obviously reduce the
log recovery time.
Log recovery time stat:
w/o this patch w/ this patch
real: 0m15.023s 0m7.802s
user: 0m0.001s 0m0.001s
sys: 0m0.246s 0m0.107s
Signed-off-by: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Ben Myers <bpm@xxxxxxx>
Signed-off-by: Ben Myers <bpm@xxxxxxx>
commit 8d1d40832b1c53ae73931f1b536ce1ab7375b3c8
Author: Jie Liu <jeff.liu@xxxxxxxxxx>
Date: Thu Aug 15 13:08:35 2013 +0800
xfs: Simplify xfs_ail_min() with list_first_entry_or_null()
At xfs_ail_min(), we do check if the AIL list is empty or not before
returning the first item in it with list_empty() and list_first_entry().
This can be simplified a bit with a new list operation routine that is
the list_first_entry_or_null() which has been introduced by:
commit 6d7581e62f8be462440d7b22c6361f7c9fa4902b
list: introduce list_first_entry_or_null
v2: make xfs_ail_min() as a static inline function and move it to
xfs_trans_priv.h as per Dave Chinner's comments.
Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
Reviewed-by: Ben Myers <bpm@xxxxxxx>
Signed-off-by: Ben Myers <bpm@xxxxxxx>
commit 46677e679fba8c2db7c94a7142ad9abb72192ebc
Author: Richard Weinberger <richard@xxxxxx>
Date: Mon Aug 19 22:56:44 2013 +0200
xfs: Register hotcpu notifier after initialization
Currently the code initializizes mp->m_icsb_mutex and other things
_after_ register_hotcpu_notifier().
As the notifier takes mp->m_icsb_mutex it can happen
that it takes the lock before it's initialization.
Signed-off-by: Richard Weinberger <richard@xxxxxx>
Reviewed-by: Ben Myers <bpm@xxxxxxx>
Signed-off-by: Ben Myers <bpm@xxxxxxx>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/xfs_log_recover.c | 159 ++++++++++++++++++++++++++++++++++++++++++++---
fs/xfs/xfs_mount.c | 13 ++--
fs/xfs/xfs_trans_ail.c | 14 -----
fs/xfs/xfs_trans_priv.h | 12 ++++
4 files changed, 171 insertions(+), 27 deletions(-)
hooks/post-receive
--
XFS development tree
|