This breaks XFS O_DIRECT handling, which is not implemented through ->direct_IO.
For the open case putting the check into generic_file_open sounds good to me,
but I have no idea on how to handle the fcntl case - which btw already allocates
kiobufs even if XFS doesn't need them..
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/