Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 2/2] statx: move STATX_ATTR_DAX attribute handling to filesystems | Date | Tue, 01 Dec 2020 21:04:02 +0000 |
| |
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> And if IS_DAX() is correct, then why shouldn't this just be done in > generic code? Why move it to every individual filesystem?
One way of looking at it is that the check is then done for every filesystem - most of which don't support it. Not sure whether that's a big enough problem to worry about. The same is true of the automount test too, I suppose...
David
| |