flexfiles LAYOUTGET/LAYOUTRETURN loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux