On Thu, Nov 01, 2018 at 04:38:43PM -0400, Olga Kornievskaia wrote: > On Thu, Nov 1, 2018 at 4:20 PM J. Bruce Fields <bfields@xxxxxxxxxxxx> wrote: > > > > On Fri, Oct 19, 2018 at 11:28:57AM -0400, Olga Kornievskaia wrote: > > > From: Olga Kornievskaia <kolga@xxxxxxxxxx> > > > > > > Mark the open created for the source file on the destination > > > server. Then if this open is going thru a recovery, then fail > > > the recovery as we don't need to be recoving a "fake" open. > > > We need to fail the ongoing READs and vfs_copy_file_range(). > > > > Nothing to do with this patch, really, but: > > And because it not related to this patch, then I'm confused. > > > I'm not always a stickler about the 80-character-column rule, but, man, > > nfs4_reclaim_open_state is deeply nested, could that be broken up a > > little? > > really? it's nested? Anna reworked the reclaim state code and nesting > has gone done considerably. It's only 2 tabs in? > > > Also I notice there's a printk("AGLO: ...") in there that you > > probably didn't mean to leave upstream? > > I don't believe I've ever had a printk() in the code. I did have a > leftover dprintk() and that has since been removed. Oh, I see, this was all fixed recently upstream by Anna's cb7a8384dc02 "NFS: Split out the body of nfs4_reclaim_open_state()", ignore me. --b.