Re: [PATCH 1/3] xfs: remove support for disabling quota accounting on a mounted file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 15, 2021 at 10:15:49AM -0700, Darrick J. Wong wrote:
> > +	if (flags & XFS_ALL_QUOTA_ACCT)
> > +		xfs_info(mp, "disabling of quota accounting not supported.");
> 
> Why not return EOPNOTSUPP here?  We're not going to turn off accounting,
> so we're not doing what the admin asked.

Because what the user usually wants is to disable visible effects of
quota, and we still give that.  The fact that we keep accounting underneath
isn't quite as relevant as there is no different user behavior, just a little
overhead.

[snipping the rest of the full quote..]



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux