On Tue, Jun 21, 2016 at 05:34:52PM -0400, Trond Myklebust wrote: > Now that we can serialise O_DIRECT and write/truncate using the > inode->i_rwsem, we no longer need inode->i_dio_count. For the AIO case that's not true, we can't hold i_rwsem until aio completes. So for something that does block allocations we'll need something like i_dio_count still. This probably includes the block / scsi layout code. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html