Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1269123 > unrolled thread
| Started by | Trond Myklebust <trond.myklebust@primarydata.com> |
|---|---|
| First post | 2015-11-13 19:00 +0100 |
| Last post | 2015-11-13 19:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] nfs:Fix error checking in the function nfs4_proc_setattr Trond Myklebust <trond.myklebust@primarydata.com> - 2015-11-13 19:00 +0100
| From | Trond Myklebust <trond.myklebust@primarydata.com> |
|---|---|
| Date | 2015-11-13 19:00 +0100 |
| Subject | Re: [PATCH] nfs:Fix error checking in the function nfs4_proc_setattr |
| Message-ID | <quqNH-15a-3@gated-at.bofh.it> |
On Fri, Nov 13, 2015 at 12:00 PM, Nicholas Krause <xerofoify@gmail.com> wrote: > This fixes error checking in the function > nfs4_proc_setattr to properly check and > return a error code if the call to the > function pnfs_commit_and_return_layout > has failed by returning a error code > as we cannot continue in the function > nfs4_proc_settattr after this error > code has been returned by the function, > pnfs_commit_and_return. Why not? It really is just advisory... On those architectures that require it, the pNFS server still has a responsibility to recall any outstanding layouts anyway when it receives a SETATTR call. The pnfs_commit_and_return here should mainly be an optimisation to avoid an unnecessary recall from the server, but we don't need to rely on it. Cheers Trond -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web