Re: [PATCH] common/quota: filter out option projquota in _qmount_option for ocfs2

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



On Mon,  6 Jan 2025 22:01:24 +0800, Su Yue wrote:

> ocfs2 doesn't support projquota but does support usrquota an grpquota.
> For now, two tests generic/594 and generic/603 are for testing
> usrquota,grpquota and projquota. The mount option 'projquota' causes
> failure of ocfs2 mount.
> 
> To make things simple, just skip the tests for ocfs2.
> However, we can't just put '_require_prjquota $SCRATCH_DEV' before
> _qmount because f2fs and xfs need runtime after mount of SCRATCH_DEV.

All _require_prjquota callers provide a $SCRATCH_DEV parameter, so
changing the order and mkfsing / mounting to check support for f2fs and
xfs should be an option. Still, this approach looks reasonable too:

Reviewed-by: David Disseldorp <ddiss@xxxxxxx>




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux