]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Avoid unnecessary block mapping when refreshing quota info
authorJan Kara <jack@suse.cz>
Wed, 28 Apr 2010 17:04:29 +0000 (19:04 +0200)
committerJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:30:46 +0000 (19:30 +0200)
commita1664ffdb9624f0c3ca3ad9927a1b2d210bdbe2b
treeb8ba5499a8ad69678a232ece4d64d18447063054
parentdfbd5672b4a8383b035cc9633047e716398d2f6b
ocfs2: Avoid unnecessary block mapping when refreshing quota info

The position of global quota file info does not change. So we do not have
to do logical -> physical block translation every time we reread it from
disk. Thus we can also avoid taking ip_alloc_sem.

Acked-by: Joel Becker <Joel.Becker@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ocfs2/dlmglue.c
fs/ocfs2/quota.h
fs/ocfs2/quota_global.c
fs/ocfs2/quota_local.c