PNFS fix fallback to MDS if got error on commit to DS
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 30 Mar 2017 14:10:55 +0000 (10:10 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 30 Mar 2017 17:27:20 +0000 (13:27 -0400)
commitfabbbee0eb0f4b763576ac1e2db4fc3bf6dcc0cc
treecce36ff8fbe9b6785596884ff903f5fcb053ec72
parent8d40b0f14846f7d45c7c72d343fe62cb866dda34
PNFS fix fallback to MDS if got error on commit to DS

Upong receiving some errors (EACCES) on commit to the DS the code
doesn't fallback to MDS and intead retrieds to the same DS again.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/filelayout/filelayout.c