> On Jun 16, 2016, at 10:52, Weston Andros Adamson <dros@xxxxxxxxxx> wrote: > > Hey Trond, Anna, > > The following patches should be CC’d to stable for all stable branches > with flexfiles. > > They fix an issue where the client can use the wrong credential if the > server returns a read-only and readwrite layout with different creds. > The client then goes into a LAYOUTRETURN/LAYOUTGET loop that > it never recovers from. > > This has been seen in recent fedora releases. > > Here are the relevant patches: > > commit 3064b6861d00b7124558cdf79f9387f948361be3 > Author: Jeff Layton <jlayton@xxxxxxxxxxxxxxx> > Date: Thu Apr 21 20:52:00 2016 -0400 > > nfs: have flexfiles mirror keep creds for both ro and rw layouts > > commit 90a0be00e9d29d9baac27c0c63a5e71ca1334001 > Author: Jeff Layton <jlayton@xxxxxxxxxxxxxxx> > Date: Thu Apr 21 20:51:59 2016 -0400 > > nfs: get a reference to the credential in ff_layout_alloc_lseg > > commit 57f3f4c0cd50e90aa92eec20d9c309dd67c594a5 > Author: Jeff Layton <jlayton@xxxxxxxxxxxxxxx> > Date: Thu Apr 21 20:51:58 2016 -0400 > > nfs: have ff_layout_get_ds_cred take a reference to the cred > > commit 547a637630c61b9e1dae9abce2b44ce7076244af > Author: Jeff Layton <jlayton@xxxxxxxxxxxxxxx> > Date: Thu Apr 21 20:51:57 2016 -0400 > > nfs: don't call nfs4_ff_layout_prepare_ds from ff_layout_get_ds_cred > > > -dros > Those are already applied upstream afaics, so we can’t add any Ccs. If they need to go to stable, then someone has to submit them directly. Cheers Trond��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥