[Ocfs2-devel] [PATCH 2/7] ocfs2: Do not map blocks from local quota file on each write

Joel Becker Joel.Becker at oracle.com
Thu May 13 16:44:53 PDT 2010


On Thu, May 13, 2010 at 09:57:58PM +0200, Jan Kara wrote:
> 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.
> 
> Signed-off-by: Jan Kara <jack at suse.cz>

	Am I correct that quota files cannot be shrunk in a running
filesystem?

Joel

-- 

"Reader, suppose you were and idiot.  And suppose you were a member of
 Congress.  But I repeat myself."
	- Mark Twain

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list