From: andros@netapp.com
To: iisaman@netapp.com
Cc: linux-nfs@vger.kernel.org, Andy Adamson <andros@netapp.com>
Subject: [[PATCH resend] 4/6] PYNFS use requested iomode on layoutget
Date: Tue, 29 May 2012 18:11:27 -0400 [thread overview]
Message-ID: <1338329489-29178-5-git-send-email-andros@netapp.com> (raw)
In-Reply-To: <1338329489-29178-1-git-send-email-andros@netapp.com>
From: Andy Adamson <andros@netapp.com>
Signed-off-by: Andy Adamson <andros@netapp.com>
---
nfs4.1/fs.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/nfs4.1/fs.py b/nfs4.1/fs.py
index adaa2d5..2d92d77 100644
--- a/nfs4.1/fs.py
+++ b/nfs4.1/fs.py
@@ -1382,7 +1382,8 @@ class FSLayoutFSObj(FSObject):
# as it facilitates commits, returns, recalls etc.
l_offset = 0
l_len = NFS4_UINT64_MAX
- l_mode = LAYOUTIOMODE4_RW
+ # use requested iomode
+ l_mode = arg.loga_iomode
l_type = LAYOUT4_NFSV4_1_FILES
self.current_layout = (l_type, l_offset, l_len, l_mode)
return layout4(l_offset, l_len, l_mode,
--
1.7.7.6
next prev parent reply other threads:[~2012-06-01 21:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-29 22:11 [[PATCH resend] 0/6] PYNFS various patches andros
2012-05-29 22:11 ` [[PATCH resend] 1/6] PYNFS rpc drop fix andros
2012-05-29 22:11 ` [[PATCH resend] 2/6] PYNFS fix rpcgen andros
2012-06-01 22:01 ` Adamson, Dros
2012-05-29 22:11 ` [[PATCH resend] 3/6] PYNFS use loopback addresses for MDS<->DS communication andros
2012-05-29 22:11 ` andros [this message]
2012-05-29 22:11 ` [[PATCH resend] 5/6] PYNFS: add mdsthreshold to file layout server andros
2012-06-04 15:21 ` Fred Isaman
2012-05-29 22:11 ` [[PATCH resend] 6/6] PYNFS implement FREE_STATEID and TEST_STATEID operations andros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338329489-29178-5-git-send-email-andros@netapp.com \
--to=andros@netapp.com \
--cc=iisaman@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).