Re: [PATCH] common: add support for the "local" file system type

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



On Fri, Sep 30, 2016 at 08:49:13AM +1000, Dave Chinner wrote:
> As it is, Eryu and Eric have already outlined a number of serious
> issues with the implementation (and your testing process). They've
> highlighted a number of magic snowflake conditions we'd have to
> sprinkle throughout random tests and maintain forever more. What's
> missing from your patch request is the information that allows us to
> determine if the benefits of this patchset outweigh the obvious,
> significant, ongoing cost of having to maintain these snowflakes.

The issues Eryu and Eric pointed out (and many thanks for their
review) were ones that are easily fixed, and I can restrict the
changes to common/* (right now only common/rc), and I no longer need
any changes in the tests/* hierarchy.

My first patch had only a single "snowflake" to generic/027 (and it
was one that already had a snowflake exemption for btrfs).  It was
done to work around the fact that _scratch_mkfs_sized wouldn't
restrict the size of the file system.  I now will _notrun any test
which uses _scratch_mkfs_sized, so I don't need that change any
longer.  This leaves only a single enospc test which will be run,
which is a bit unfortunate, but it solves the "I could fill the root
file system if TEST_DEV or SCRATCH_DEV is pointed on my root fs"
problem".

So I believe the maintainance issue is something that can be be
mitigated.

Testing is something that can be done using a standard Linux systems.
(Indeed I did most of my testing using my existing gce-xfstests and
kvm-xfstests frameworks, just because it was easier.)  It's a fair
point that I should make sure it doesn't cause problems when other
file systems are used as the base file system, and if it is used on a
root file system.  Again, these are issues which I can fix in the
patch.  Indeed, all of the the specific issues pointed out by Eric and
Eryu are already fixed in my tree.

In any case, since the commit are only adding some tests in common/rc
(where we have lots of per-file system conditionals anyway), I can
easily maintain this patch out-of-tree, since you seem to have
fundamental philosophical problems with it.

Regards,

						- Ted
--
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