commit | c8b9cf9a7cd25ba65166116d0a958f0bc709f0a7 | [log] [tgz] |
---|---|---|
author | Tao Ma <tao.ma@oracle.com> | Tue Feb 24 17:40:26 2009 -0800 |
committer | Mark Fasheh <mfasheh@suse.com> | Thu Feb 26 11:51:11 2009 -0800 |
tree | 81ab9d6d0be93e57bcb17130abed3516574b3752 | |
parent | 89a907afe073b8971a83d0ad54f391542b64d327 [diff] |
ocfs2: lock the metaecc process for xattr bucket For other metadata in ocfs2, metaecc is checked in ocfs2_read_blocks with io_mutex held. While for xattr bucket, it is calculated by the whole buckets. So we have to add a spin_lock to prevent multiple processes calculating metaecc. Signed-off-by: Tao Ma <tao.ma@oracle.com> Tested-by: Tristan Ye <tristan.ye@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>