Does "ecryptfs" support direct I/O? In general, how can a "stackable" file system, that modifies buffer provided by user support direct I/O?
ecryptfs does not support direct I/O.
There is no implementation of direct_IO() callback in ecryptfs address_space_operations.