Re: [RFC PATCH 13/20] famfs: Add iomap_ops

2024-02-26 Thread John Groves
On 24/02/26 01:30PM, Jonathan Cameron wrote: > On Fri, 23 Feb 2024 11:41:57 -0600 > John Groves wrote: > > > This commit introduces the famfs iomap_ops. When either > > dax_iomap_fault() or dax_iomap_rw() is called, we get a callback > > via our iomap_begin() handler. The question being asked is

Re: [RFC PATCH 13/20] famfs: Add iomap_ops

2024-02-26 Thread Jonathan Cameron
On Fri, 23 Feb 2024 11:41:57 -0600 John Groves wrote: > This commit introduces the famfs iomap_ops. When either > dax_iomap_fault() or dax_iomap_rw() is called, we get a callback > via our iomap_begin() handler. The question being asked is > "please resolve (file, offset) to (daxdev, offset)". Th

[RFC PATCH 13/20] famfs: Add iomap_ops

2024-02-23 Thread John Groves
This commit introduces the famfs iomap_ops. When either dax_iomap_fault() or dax_iomap_rw() is called, we get a callback via our iomap_begin() handler. The question being asked is "please resolve (file, offset) to (daxdev, offset)". The function famfs_meta_to_dax_offset() does this. The per-file m