On 11/30/20 9:37 PM, Eric Sandeen wrote: > On 11/30/20 9:20 PM, Theodore Y. Ts'o wrote: ... >> We should be really clear how applications are supposed to use the >> attributes_mask. Does it mean that they will always be able to set a >> flag which is set in the attribute mask? That can't be right, since >> there will be a number of flags that may have some more complex checks >> (you must be root, or the file must be zero length, etc.) I'm a bit >> unclear about what are the useful ways in which an attribute_mask can >> be used by a userspace application --- and under what circumstances >> might an application be depending on the semantics of attribute_mask, >> so we don't accidentally give them an opportunity to complain and >> whine, thus opening ourselves to another O_PONIES controversy. > > Hah, indeed. > > Sorry if I've over-complicated this, I'm honestly just confused now. hch warned us, I guess: https://lore.kernel.org/linux-fsdevel/20170404071252.GA30966@xxxxxxxxxxxxx/ At this point I guess I'll just set the dax attribute into the mask unconditionally for xfs, because xfs "supports" dax, and stop navel-gazing over this. -Eric