Re: xfstest status on current kernels

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



On Wed, Nov 12, 2014 at 10:33:37PM -0600, Steve French wrote:
> On Wed, Nov 12, 2014 at 10:22 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
> > On Wed, Nov 12, 2014 at 09:38:45PM -0600, Steve French wrote:
> >> On Wed, Nov 12, 2014 at 9:26 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
> >> > On Wed, Nov 12, 2014 at 05:31:20PM -0600, Steve French wrote:
> >>
> >> >> I want to make sure that I don't accidentally ignore a test (e.g. test
> >> >> generic/003 doesn't run with a message " [not run] relatime not
> >> >> supported by the current kernel" and want to make sure I am not
> >> >> missing something).
> >> I have been going through these one at a time as I have time (to
> >> see if they are workable on cifs/smb3 etc) - but it can get
> >> tricky (e.g. in this case relatime may be default behavior for fs so
> >> lack of a mount option with this exact name may be unnecessarily
> >> disabling this one on some fs)
> >
> > I don't think that's the case. Any kernel that supports relatime
> > supports the relatime mount option. It doesn't matter if the
> > filesystem defaults to it or not, MS_RELATIME is a valid mount
> > flag on all supported kernels.
> 
> relatime is rejected by the kernel cifs.ko driver (I will need to fix
> that) but should be ignored.

relatime should never get to the kernel as a string fs specific
string. It's supposed to be parsed by the mount binary and passed
as the MS_RELATIME flag to the kernel, not as a string.

> Looking at the xfstest logs looks like
> noatime is going to have the same problem as well.
> I will fix these in the cifs mount parsing.

Again: MS_NOATIME.

This sounds like a bug in the mount.cifs binary, not the kernel.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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