Re: [PATCH 5/5] xfs: introduce an always_cow mode

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

 



On Fri, Sep 21, 2018 at 07:23:57AM +1000, Dave Chinner wrote:
> sys/fs/xfs/debug/always_cow is the place for this if it is truly a
> global debug option. However, that's probably not the best way to
> enable this sort of debug for people with XFS root filesystems
> trying to test XFS filesystems. I suspect it should be a per-mount
> configuration (i.e. /sys/fs/xfs/<dev>/debug/always_cow)

True.

> However, this mode of operation seems like it is going to form the
> basis of other per-filesystem features, so it would be good to know
> how/if those features make use of this always_cow mode or are
> controlled by some other set of knobs first.

The current atomic write support is a per-inode fcntl based flag.
(used to be an O_ATOMIC per open file flag, but that had all kinds
of issues).

The zoned device support doesn't really existing for a bit of prototype
write path code, but the current assumption is that all files in
ѕequential write only zones have the RT bit set, and will get this
behavior on that an a per-subperblock flag.

In other words - the know here is supposed to remain a debug build
only debug nob.



[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