lkml.org 
[lkml]   [2012]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PULL REQUEST] Ext3 & ext2 fix, quota improvement
On Fri 20-01-12 11:44:00, Christoph Hellwig wrote:
> On Fri, Jan 20, 2012 at 05:39:10PM +0100, Jan Kara wrote:
> > quota: Pass information that quota is stored in system file to userspace
>
> Was that patch posted somewhere? How does it apply to e.g. xfs, gfs2
> and ocfs2 that have always stored quota data internally?
It was posted back in November (but I forgot it in a topic branch thus
I'm merging it only now), looking at the post I sent it to linux-ext4 only
which was probably a bit unlucky.

Regarding other filesystems - ocfs2 and gfs2 set DQUOT_QUOTA_SYS_FILE flag
so this will now be passed properly to userspace to inform userspace
programs (but quota-tools anyway use the flag only for ext4, for other
filesystems they know quota is handled internally just by looking at
filesystem type). XFS doesn't set the flag. It does not matter in practice
as XFS doesn't use VFS quota code which cares about the flag
(dquot_quota_sync, dquot_disable) and userspace tools know XFS handles
quota internally. But maybe we could make XFS set it just for consistency?

Honza

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


\
 
 \ /
  Last update: 2012-01-20 20:07    [W:0.049 / U:5.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site