All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SQUASHME: pnfs-post-submit: mark commit data as PNFS_NO_RPC in pnfs_try_to_commit
@ 2010-09-13 20:09 Benny Halevy
  0 siblings, 0 replies; only message in thread
From: Benny Halevy @ 2010-09-13 20:09 UTC (permalink / raw)
  To: linux-nfs; +Cc: bharrosh, Benny Halevy

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
---
 fs/nfs/pnfs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index eb4e092..61dbc0a 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -1693,6 +1693,8 @@ pnfs_try_to_commit(struct nfs_write_data *data,
 
 	dprintk("%s: Begin\n", __func__);
 
+	if (!pnfs_use_rpc(nfss))
+		data->pdata.pnfsflags |= PNFS_NO_RPC;
 	/* We need to account for possibility that
 	 * each nfs_page can point to a different lseg (or be NULL).
 	 * For the immediate case of whole-file-only layouts, we at
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-13 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-13 20:09 [PATCH] SQUASHME: pnfs-post-submit: mark commit data as PNFS_NO_RPC in pnfs_try_to_commit Benny Halevy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.