Re: [PATCH RFC 4/8] xfs: implement inline data read write code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2018年07月08日 23:45, Christoph Hellwig wrote:
On Fri, Jul 06, 2018 at 11:12:25AM +0800, Shan Hai wrote:
Implement read/write functions for inline data access and use them
for buffered/DIO/DAX operations.
Please use the iomap inline handling in this branch instead of
implementing it in XFS:

https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git/log/?h=iomap-4.19-merge

OK, I will base the patches on the iomap inline handling code.

It seems like your code doesn't use the page cache for inline data
at the moment, which means you'd want to always use the direct I/O
version of the code as-is.

Yes, the read path uses direct I/O version while the write is not.

Althought that makes me wonder how you handle memory mapped I/O, but
I guess I'll find out later.

I will use page cache to handle the mmap case, thanks for the review.

Thanks
Shan Hai
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux