Re: [Cluster-devel] [RFC PATCH 0/3] Rework the gfs2 read and page fault locking

2019-11-25 Thread Kirill A. Shutemov
t; and filemap_fault helpers do already anyway, except that they will call > into ->readpage and ->readpages when they find pages missing. Instead > of that, we'd like those helpers to return with an error code that > allows us to retry the operation after taking the filesystem locks. Do you see IOCB_CACHED/FAULT_FLAG_CACHED semantics being usable for anyting beyond gfs2? -- Kirill A. Shutemov

Re: [Cluster-devel] [RFC PATCH 3/3] gfs2: Rework read and page fault locking

2019-11-25 Thread Kirill A. Shutemov
uct gfs2_inode *ip; > + struct gfs2_holder gh; > + size_t written = 0; 'written' in a read routine? -- Kirill A. Shutemov