summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/Kconfig
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2013-05-15 20:51:49 +0200
committerJ. Bruce Fields <bfields@redhat.com>2013-07-01 23:23:07 +0200
commit9a0590aec3ca5e86a64b87e004244abc4dd1faf9 (patch)
treef3864074aa12bace1ff2fd082ae1a839cfc4b547 /fs/nfsd/Kconfig
parentnfsd4: allow client to send no cb_sec flavors (diff)
downloadlinux-9a0590aec3ca5e86a64b87e004244abc4dd1faf9.tar.xz
linux-9a0590aec3ca5e86a64b87e004244abc4dd1faf9.zip
NFSD: Don't give out read delegations on creates
When an exclusive create is done with the mode bits set (aka open(testfile, O_CREAT | O_EXCL, 0777)) this causes a OPEN op followed by a SETATTR op. When a read delegation is given in the OPEN, it causes the SETATTR to delay with EAGAIN until the delegation is recalled. This patch caused exclusive creates to give out a write delegation (which turn into no delegation) which allows the SETATTR seamlessly succeed. Signed-off-by: Steve Dickson <steved@redhat.com> [bfields: do this for any CREATE, not just exclusive; comment] Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/Kconfig')
0 files changed, 0 insertions, 0 deletions