[Ocfs2-tools-devel] [PATCH 4/8] Write out quota info changes on ocfs2_close()

Jan Kara jack at suse.cz
Wed Jul 29 02:58:50 PDT 2009


On Tue 28-07-09 15:53:56, Joel Becker wrote:
> On Mon, Jul 27, 2009 at 07:53:32PM +0200, Jan Kara wrote:
> > We don't write out change of information in quota file header on each change,
> > we rather cache it in ocfs2_filesys structure. So write out all the
> > information when ocfs2_close() is called.
> > 
> > Signed-off-by: Jan Kara <jack at suse.cz>
> 
> This looks good as long as all quota ops keep those ocfs2_cached_inodes
> up to date.
  Yes, all quota ops use only these cached inodes so it should be fine.

									Honza
-- 
Jan Kara <jack at suse.cz>
SUSE Labs, CR



More information about the Ocfs2-tools-devel mailing list