Re: [RFC PATCH 14/20] famfs: Add struct file_operations

2024-02-26 Thread John Groves
On 24/02/26 01:32PM, Jonathan Cameron wrote: > On Fri, 23 Feb 2024 11:41:58 -0600 > John Groves wrote: > > > This commit introduces the famfs file_operations. We call > > thp_get_unmapped_area() to force PMD page alignment. Our read and > > write handlers (famfs_dax_read_iter() and famfs_dax_writ

Re: [RFC PATCH 14/20] famfs: Add struct file_operations

2024-02-26 Thread Jonathan Cameron
On Fri, 23 Feb 2024 11:41:58 -0600 John Groves wrote: > This commit introduces the famfs file_operations. We call > thp_get_unmapped_area() to force PMD page alignment. Our read and > write handlers (famfs_dax_read_iter() and famfs_dax_write_iter()) > call dax_iomap_rw() to do the work. > > famf

[RFC PATCH 14/20] famfs: Add struct file_operations

2024-02-23 Thread John Groves
This commit introduces the famfs file_operations. We call thp_get_unmapped_area() to force PMD page alignment. Our read and write handlers (famfs_dax_read_iter() and famfs_dax_write_iter()) call dax_iomap_rw() to do the work. famfs_file_invalid() checks for various ways a famfs file can be in an i