]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitae4f6ef13417deaa49471c0e903914a3ef3be258
treeb8ba5499a8ad69678a232ece4d64d18447063054
parentf64dd44eb748438783b10b3f7a4968d2656a3c95
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