summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-04-27 22:22:30 (GMT)
committerJan Kara <jack@suse.cz>2010-05-21 17:30:46 (GMT)
commitf64dd44eb748438783b10b3f7a4968d2656a3c95 (patch)
tree21d73e0ed7140c8a61331eacd65157cc0983a16d /mm/truncate.c
parentbc8e5f07392f05c47c8bdeff4f7098db440d065c (diff)
downloadlinux-f64dd44eb748438783b10b3f7a4968d2656a3c95.tar.xz
ocfs2: Do not map blocks from local quota file on each write
There is no need to map offset of local dquot structure to on disk block in each quota write. It is enough to map it just once and store the physical block number in quota structure in memory. Moreover this simplifies locking as we do not have to take ip_alloc_sem from quota write path. Acked-by: Joel Becker <Joel.Becker@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions