Re: coda's use of file->f_mapping and inode->i_mapping

2017-08-02 Thread Jan Harkes
On Wed, Aug 02, 2017 at 11:05:31AM -0400, Jeff Layton wrote: > The weird bit is that in coda_file_mmap, we then do this: > > coda_file->f_mapping = host_file->f_mapping; > if (coda_inode->i_mapping == &coda_inode->i_data) > coda_inode->i_mapping = host_inode->i_mapp

coda's use of file->f_mapping and inode->i_mapping

2017-08-02 Thread Jeff Layton
I've been slowly crawling through filesystems to convert them to errseq_t based error handling for ->fsync operations. I started looking at coda, but it does some strange things with the f_mapping that I don't quite understand. When a file is opened on coda, we call down to userland daemon, which