Re: [PATCH 10/10] fs: replace mmap hook with .mmap_prepare for simple mappings

2025-06-19 Thread Viacheslav Dubeyko
t; .setlease = simple_nosetlease, > diff --git a/fs/ceph/super.h b/fs/ceph/super.h > index bb0db0cc8003..cf176aab0f82 100644 > --- a/fs/ceph/super.h > +++ b/fs/ceph/super.h > @@ -1286,7 +1286,7 @@ extern void __ceph_touch_fmode(struct ceph_inode_info > *ci, > /* addr.c */

Re: [PATCH 08/10] fs: convert simple use of generic_file_*_mmap() to .mmap_prepare()

2025-06-19 Thread Viacheslav Dubeyko
fsplus_file_operations = { > .llseek = generic_file_llseek, > .read_iter = generic_file_read_iter, > .write_iter = generic_file_write_iter, > - .mmap = generic_file_mmap, > + .mmap_prepare = generic_file_mmap_prepare, > .splice_r

RE: [PATCH 3/6] ceph: return the correct dentry on mkdir

2025-02-24 Thread Viacheslav Dubeyko
On Mon, 2025-02-24 at 13:15 +1100, NeilBrown wrote: > On Fri, 21 Feb 2025, Viacheslav Dubeyko wrote: > > On Fri, 2025-02-21 at 10:36 +1100, NeilBrown wrote: > > > ceph already splices the correct dentry (in splice_dentry()) from the > > > result of mkdir bu

Re: [PATCH 3/6] ceph: return the correct dentry on mkdir

2025-02-20 Thread Viacheslav Dubeyko
On Fri, 2025-02-21 at 10:36 +1100, NeilBrown wrote: > ceph already splices the correct dentry (in splice_dentry()) from the > result of mkdir but does nothing more with it. > > Now that ->mkdir can return a dentry, return the correct dentry. > > Signed-off-by: NeilBrown > --- > fs/ceph/dir.c |