Re: [GIT PULL] Please pull NFS client bugfixes for 5.11

2021-01-31 Thread Linus Torvalds
On Sun, Jan 31, 2021 at 8:59 AM Trond Myklebust  wrote:
>
>   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.11-3

Merged. However, it looks like you won't get a pr-tracker-bot reply
because I'm not seeing this email on lore.

So I'm doing these manual replies for now, it looks like the mailing
list is not doing great.

 Linus


Re: [GIT PULL] Please pull NFS client bugfixes for 5.11

2021-01-31 Thread Trond Myklebust
On Sun, 2021-01-31 at 11:22 -0800, Linus Torvalds wrote:
> On Sun, Jan 31, 2021 at 8:59 AM Trond Myklebust <
> tron...@hammerspace.com> wrote:
> > 
> >   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-
> > for-5.11-3
> 
> Merged. However, it looks like you won't get a pr-tracker-bot reply
> because I'm not seeing this email on lore.
> 
> So I'm doing these manual replies for now, it looks like the mailing
> list is not doing great.
> 
>  Linus


Yeah, I was curious about that. Wasn't sure if the problem was on my
end or if indeed the mailing lists are down.
Thanks anyway for merging and taking the time to reply!

Cheers
  Trond

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes

2021-01-12 Thread pr-tracker-bot
The pull request you sent on Tue, 12 Jan 2021 14:31:12 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.11-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e609571b5ffa3528bf85292de1ceaddac342bc1c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] Please pull NFS client bugfixes

2021-01-12 Thread Trond Myklebust
Hi Linus,

The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62:

  Linux 5.11-rc2 (2021-01-03 15:55:30 -0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.11-2

for you to fetch changes up to 896567ee7f17a8a736cda8a28cc987228410a2ac:

  NFS: nfs_igrab_and_active must first reference the superblock (2021-01-10 
16:29:28 -0500)


NFS client bugfixes for Linux 5.11

Highlights include:

Bugfixes:
- Fix parsing of link-local IPv6 addresses
- Fix confusing logging of mount errors that was introduced by the
  fsopen() patchset.
- Fix a tracing use after free in _nfs4_do_setlk()
- Layout return-on-close fixes when called from nfs4_evict_inode()
- Layout segments were being leaked in pnfs_generic_clear_request_commit()
- Don't leak DS commits in pnfs_generic_retry_commit()
- Fix an Oopsable use-after-free when nfs_delegation_find_inode_server()
  calls iput() on an inode after the super block has gone away.


Dave Wysochanski (1):
  NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock

Scott Mayhew (1):
  NFS: Adjust fs_context error logging

Trond Myklebust (9):
  pNFS: Mark layout for return if return-on-close was not sent
  pNFS: We want return-on-close to complete when evicting the inode
  pNFS: Clean up pnfs_layoutreturn_free_lsegs()
  pNFS: Stricter ordering of layoutget and layoutreturn
  NFS/pNFS: Don't call pnfs_free_bucket_lseg() before removing the request
  NFS/pNFS: Don't leak DS commits in pnfs_generic_retry_commit()
  NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
  NFS: nfs_delegation_find_inode_server must first reference the superblock
  NFS: nfs_igrab_and_active must first reference the superblock

j.nixd...@avm.de (1):
  net: sunrpc: interpret the return value of kstrtou32 correctly

 fs/nfs/delegation.c | 12 ++
 fs/nfs/internal.h   | 38 +++---
 fs/nfs/nfs4proc.c   | 28 +-
 fs/nfs/nfs4super.c  |  4 ++--
 fs/nfs/pnfs.c   | 67 -
 fs/nfs/pnfs.h   |  8 +++
 fs/nfs/pnfs_nfs.c   | 22 --
 net/sunrpc/addr.c   |  2 +-
 8 files changed, 99 insertions(+), 82 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes

2020-09-28 Thread pr-tracker-bot
The pull request you sent on Mon, 28 Sep 2020 17:27:14 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.9-3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fb0155a09b0224a7147cb07a4ce6034c8d29667f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] Please pull NFS client bugfixes

2020-09-28 Thread Trond Myklebust
Hi Linus,

The following changes since commit 856deb866d16e29bd65952e0289066f6078af773:

  Linux 5.9-rc5 (2020-09-13 16:06:00 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.9-3

for you to fetch changes up to b9df46d08a8d098ea2124cb9e3b84458a474b4d4:

  pNFS/flexfiles: Be consistent about mirror index types (2020-09-18 09:25:33 
-0400)

Cheers,
  Trond

NFS client bugfixes for Linux 5.9

Highlights include:

Bugfixes:
- NFSv4.2: copy_file_range needs to invalidate caches on success
- NFSv4.2: Fix security label length not being reset
- pNFS/flexfiles: Ensure we initialise the mirror bsizes correctly on read
- pNFS/flexfiles: Fix signed/unsigned type issues with mirror indices


Jeffrey Mitchell (1):
  nfs: Fix security label length not being reset

Olga Kornievskaia (1):
  NFSv4.2: fix client's attribute cache management for copy_file_range

Trond Myklebust (2):
  pNFS/flexfiles: Ensure we initialise the mirror bsizes correctly on read
  pNFS/flexfiles: Be consistent about mirror index types

 fs/nfs/dir.c   |  3 +++
 fs/nfs/flexfilelayout/flexfilelayout.c | 43 +-
 fs/nfs/nfs42proc.c | 10 +++-
 include/linux/nfs_xdr.h|  4 ++--
 4 files changed, 36 insertions(+), 24 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes for Linux 5.9

2020-09-09 Thread pr-tracker-bot
The pull request you sent on Wed, 9 Sep 2020 17:52:01 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.9-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ab29a807a7ddaa7c84d2f4cb8d29e74e33759072

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] Please pull NFS client bugfixes for Linux 5.9

2020-09-09 Thread Trond Myklebust
Hi Linus,

The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:

  Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.9-2

for you to fetch changes up to 8c6b6c793ed32b8f9770ebcdf1ba99af423c303b:

  SUNRPC: stop printk reading past end of string (2020-09-05 10:39:41 -0400)


NFS client bugfixes for Linux 5.9

Highlights include:

Bugfixes:
- Fix an NFS/RDMA resource leak
- Fix the error handling during delegation recall
- NFSv4.0 needs to return the delegation on a zero-stateid SETATTR
- Stop printk reading past end of string


Chuck Lever (2):
  xprtrdma: Release in-flight MRs on disconnect
  NFS: Zero-stateid SETATTR should first return delegation

J. Bruce Fields (1):
  SUNRPC: stop printk reading past end of string

Olga Kornievskaia (1):
  NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation 
recall

Trond Myklebust (1):
  Merge tag 'nfs-rdma-for-5.9-1' of 
git://git.linux-nfs.org/projects/anna/linux-nfs

 fs/nfs/nfs4proc.c   | 11 +--
 net/sunrpc/rpcb_clnt.c  |  4 ++--
 net/sunrpc/xprtrdma/verbs.c |  2 ++
 3 files changed, 13 insertions(+), 4 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes

2020-05-15 Thread pr-tracker-bot
The pull request you sent on Fri, 15 May 2020 21:00:11 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.7-5

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/12bf0b632ed090358cbf03e323e5342212d0b2e4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes

2020-05-15 Thread Trond Myklebust
Hi Linus,

The following changes since commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8:

  Linux 5.7-rc5 (2020-05-10 15:16:58 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.7-5

for you to fetch changes up to 8eed292bc8cbf737e46fb1c119d4c8f6dcb00650:

  NFSv3: fix rpc receive buffer size for MOUNT call (2020-05-14 18:42:44 -0400)


NFS client bugfixes for Linux 5.7

Highlights include:

Stable fixes:
- nfs: fix NULL deference in nfs4_get_valid_delegation

Bugfixes:
- Fix corruption of the return value in cachefiles_read_or_alloc_pages()
- Fix several fscache cookie issues
- Fix a fscache queuing race that can trigger a BUG_ON
- NFS: Fix 2 use-after-free regressions due to the RPC_TASK_CRED_NOREF flag
- SUNRPC: Fix a use-after-free regression in rpc_free_client_work()
- SUNRPC: Fix a race when tearing down the rpc client debugfs directory
- SUNRPC: Signalled ASYNC tasks need to exit
- NFSv3: fix rpc receive buffer size for MOUNT call


Chuck Lever (1):
  SUNRPC: Signalled ASYNC tasks need to exit

Dave Wysochanski (3):
  NFS: Fix fscache super_cookie index_key from changing after umount
  NFS: Fix fscache super_cookie allocation
  NFSv4: Fix fscache cookie aux_data to ensure change_attr is included

David Howells (1):
  cachefiles: Fix corruption of the return value in 
cachefiles_read_or_alloc_pages()

J. Bruce Fields (2):
  nfs: fix NULL deference in nfs4_get_valid_delegation
  SUNRPC: 'Directory with parent 'rpc_clnt' already present!'

Lei Xue (1):
  cachefiles: Fix race between read_waiter and read_copier involving 
op->to_do

NeilBrown (1):
  SUNRPC: fix use-after-free in rpc_free_client_work()

Olga Kornievskaia (1):
  NFSv3: fix rpc receive buffer size for MOUNT call

Trond Myklebust (3):
  Merge tag 'fscache-fixes-20200508-2' of 
git://git.kernel.org/.../dhowells/linux-fs
  NFS: Don't use RPC_TASK_CRED_NOREF with delegreturn
  NFS/pnfs: Don't use RPC_TASK_CRED_NOREF with pnfs

 fs/cachefiles/rdwr.c | 12 ++--
 fs/nfs/fscache.c | 39 ++-
 fs/nfs/mount_clnt.c  |  3 ++-
 fs/nfs/nfs4proc.c|  2 +-
 fs/nfs/nfs4state.c   |  2 +-
 fs/nfs/pagelist.c|  5 +++--
 fs/nfs/pnfs_nfs.c|  3 ++-
 fs/nfs/super.c   |  1 -
 fs/nfs/write.c   |  4 ++--
 net/sunrpc/clnt.c|  9 +++--
 10 files changed, 42 insertions(+), 38 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes

2020-05-02 Thread pr-tracker-bot
The pull request you sent on Sat, 2 May 2020 13:35:02 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.7-4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/29a47f456d6213a3173722a098a3a18865ea4db3

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes

2020-05-02 Thread Trond Myklebust
Hi Linus,

The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936:

  Linux 5.7-rc2 (2020-04-19 14:35:30 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.7-4

for you to fetch changes up to 9c07b75b80eeff714420fb6a4c880b284e529d0f:

  NFS: Fix a race in __nfs_list_for_each_server() (2020-04-30 15:08:26 -0400)

Thanks
  Trond


NFS client bugfixes for Linux 5.7

Highlights include:

Stable fixes
- fix handling of backchannel binding in BIND_CONN_TO_SESSION

Bugfixes
- Fix a credential use-after-free issue in pnfs_roc()
- Fix potential posix_acl refcnt leak in nfs3_set_acl
- defer slow parts of rpc_free_client() to a workqueue
- Fix an Oopsable race in __nfs_list_for_each_server()
- Fix trace point use-after-free race
- Regression: the RDMA client no longer responds to server disconnect requests
- Fix return values of xdr_stream_encode_item_{present, absent}
- _pnfs_return_layout() must always wait for layoutreturn completion

Cleanups
- Remove unreachable error conditions


Andreas Gruenbacher (1):
  nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl

Chuck Lever (3):
  xprtrdma: Restore wake-up-all to rpcrdma_cm_event_handler()
  xprtrdma: Fix trace point use-after-free race
  xprtrdma: Fix use of xdr_stream_encode_item_{present, absent}

NeilBrown (1):
  SUNRPC: defer slow parts of rpc_free_client() to a workqueue.

Olga Kornievskaia (1):
  NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION

Trond Myklebust (4):
  NFS/pnfs: Ensure that _pnfs_return_layout() waits for layoutreturn 
completion
  NFS/pnfs: Fix a credential use-after-free issue in pnfs_roc()
  Merge tag 'nfs-rdma-for-5.7-2' of 
git://git.linux-nfs.org/projects/anna/linux-nfs
  NFS: Fix a race in __nfs_list_for_each_server()

Xiyu Yang (2):
  SUNRPC: Remove unreachable error condition
  NFSv4: Remove unreachable error condition due to rpc_run_task()

 fs/nfs/nfs3acl.c   | 22 +++---
 fs/nfs/nfs4proc.c  | 11 +--
 fs/nfs/pnfs.c  | 11 +--
 fs/nfs/super.c |  2 +-
 include/linux/nfs_xdr.h|  2 ++
 include/linux/sunrpc/clnt.h| 13 -
 include/trace/events/rpcrdma.h | 12 
 net/sunrpc/clnt.c  | 24 ++--
 net/sunrpc/xprtrdma/rpc_rdma.c | 15 +++
 net/sunrpc/xprtrdma/verbs.c|  3 ++-
 10 files changed, 79 insertions(+), 36 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS Client bugfixes for 5.4-rc3

2019-10-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Oct 2019 21:14:20 +:

> git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.4-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS Client bugfixes for 5.4-rc3

2019-10-11 Thread Schumaker, Anna
Hi Linus,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.4-2

for you to fetch changes up to af84537dbd1b39505d1f3d8023029b4a59666513:

  SUNRPC: fix race to sk_err after xs_error_report (2019-10-10 16:14:28 -0400)


Stable bugfixes:
- Fix O_DIRECT accounting of number of bytes read/written # v4.1+

Other fixes:
- Fix nfsi->nrequests count error on nfs_inode_remove_request()
- Remove redundant mirror tracking in O_DIRECT
- Fix leak of clp->cl_acceptor string
- Fix race to sk_err after xs_error_report

I hope you have a good weekend!
Anna

Benjamin Coddington (1):
  SUNRPC: fix race to sk_err after xs_error_report

Chuck Lever (1):
  NFSv4: Fix leak of clp->cl_acceptor string

Trond Myklebust (2):
  NFS: Fix O_DIRECT accounting of number of bytes read/written
  NFS: Remove redundant mirror tracking in O_DIRECT

ZhangXiaoxu (1):
  nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request

 fs/nfs/direct.c | 106 ++--
 fs/nfs/nfs4proc.c   |   1 +
 fs/nfs/write.c  |   5 +-
 include/linux/sunrpc/xprtsock.h |   1 +
 net/sunrpc/xprtsock.c   |  17 +++
 5 files changed, 49 insertions(+), 81 deletions(-)


Re: [GIT PULL] Please pull NFS client bugfixes

2019-08-27 Thread pr-tracker-bot
The pull request you sent on Tue, 27 Aug 2019 19:26:51 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9e8312f5e160ade069e131d54ab8652cf0e86e1a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes

2019-08-27 Thread Trond Myklebust
Hi Linus,

The following changes since commit d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1:

  Linux 5.3-rc5 (2019-08-18 14:31:08 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-3

for you to fetch changes up to 99300a85260c2b7febd57082a617d1062532067e:

  NFS: remove set but not used variable 'mapping' (2019-08-27 10:24:56 -0400)


NFS client bugfixes for Linux 5.3

Highlights include:

Stable fixes:
- Fix a page lock leak in nfs_pageio_resend()
- Ensure O_DIRECT reports an error if the bytes read/written is 0
- Don't handle errors if the bind/connect succeeded
- Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidat
ed"

Bugfixes:
- Don't refresh attributes with mounted-on-file information
- Fix return values for nfs4_file_open() and nfs_finish_open()
- Fix pnfs layoutstats reporting of I/O errors
- Don't use soft RPC calls for pNFS/flexfiles I/O, and don't abort for
  soft I/O errors when the user specifies a hard mount.
- Various fixes to the error handling in sunrpc
- Don't report writepage()/writepages() errors twice.


Trond Myklebust (17):
  NFS: Don't refresh attributes with mounted-on-file information
  NFSv4: Fix return values for nfs4_file_open()
  NFSv4: Fix return value in nfs_finish_open()
  NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
  NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
  NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
  NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()
  SUNRPC: Don't handle errors if the bind/connect succeeded
  pNFS/flexfiles: Turn off soft RPC calls
  SUNRPC: Handle EADDRINUSE and ENOBUFS correctly
  Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was 
invalidated"
  SUNRPC: Handle connection breakages correctly in call_status()
  pNFS/flexfiles: Don't time out requests on hard mounts
  NFS: Fix spurious EIO read errors
  NFS: Fix writepage(s) error handling to not report errors twice
  NFSv2: Fix eof handling
  NFSv2: Fix write regression

YueHaibing (1):
  NFS: remove set but not used variable 'mapping'

 fs/nfs/dir.c   |  2 +-
 fs/nfs/direct.c| 27 ---
 fs/nfs/flexfilelayout/flexfilelayout.c | 28 +++-
 fs/nfs/inode.c | 33 ++--
 fs/nfs/internal.h  | 10 
 fs/nfs/nfs4file.c  | 12 -
 fs/nfs/pagelist.c  | 19 --
 fs/nfs/pnfs_nfs.c  | 15 +++
 fs/nfs/proc.c  |  7 +++--
 fs/nfs/read.c  | 35 ++---
 fs/nfs/write.c | 38 ---
 include/linux/sunrpc/sched.h   |  1 -
 net/sunrpc/clnt.c  | 47 +++---
 net/sunrpc/xprt.c  |  7 -
 14 files changed, 163 insertions(+), 118 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes

2019-08-08 Thread pr-tracker-bot
The pull request you sent on Thu, 8 Aug 2019 21:26:49 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b678c568c561cf7e4ed40f4bcc3e85d2b50310a2

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes

2019-08-08 Thread Trond Myklebust
Hi Linus,

The following changes since commit e21a712a9685488f5ce80495b37b9fdbe96c230d:

  Linux 5.3-rc3 (2019-08-04 18:40:12 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-2

for you to fetch changes up to 67e7b52d44e3d539dfbfcd866c3d3d69da23a909:

  NFSv4: Ensure state recovery handles ETIMEDOUT correctly (2019-08-07 12:55:11 
-0400)


NFS client bugfixes for Linux 5.3

Highlights include:

Stable fixes:
- NFSv4: Ensure we check the return value of update_open_stateid() so we
  correctly track active open state.
- NFSv4: Fix for delegation state recovery to ensure we recover all open
  modes that are active.
- NFSv4: Fix an Oops in nfs4_do_setattr

Bugfixes:
- NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
- NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
- NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
- pNFS: Report errors from the call to nfs4_select_rw_stateid()
- NFSv4: Various other delegation and open stateid recovery fixes
- NFSv4: Fix state recovery behaviour when server connection times out


Trond Myklebust (12):
  NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
  NFSv4: Fix delegation state recovery
  NFSv4: Print an error in the syslog when state is marked as irrecoverable
  NFSv4: When recovering state fails with EAGAIN, retry the same recovery
  NFSv4: Report the error from nfs4_select_rw_stateid()
  NFSv4.1: Fix open stateid recovery
  NFSv4.1: Only reap expired delegations
  NFSv4: Check the return value of update_open_stateid()
  NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
  NFSv4: Fix an Oops in nfs4_do_setattr
  NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
  NFSv4: Ensure state recovery handles ETIMEDOUT correctly

 fs/nfs/delegation.c |  25 
 fs/nfs/delegation.h |   2 +-
 fs/nfs/fscache.c|   7 +++-
 fs/nfs/fscache.h|   2 +-
 fs/nfs/nfs4_fs.h|   3 +-
 fs/nfs/nfs4client.c |   5 ++-
 fs/nfs/nfs4proc.c   | 109 ++--
 fs/nfs/nfs4state.c  |  49 ++-
 fs/nfs/pnfs.c   |   7 +---
 fs/nfs/super.c  |   1 +
 10 files changed, 135 insertions(+), 75 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




[GIT PULL] Please pull NFS client bugfixes

2019-06-05 Thread Schumaker, Anna
Hi Linus,

The following changes since commit
cd6c84d8f0cdc911df435bb075ba22ce3c605b07:

  Linux 5.2-rc2 (2019-05-26 16:49:19 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.2-
2

for you to fetch changes up to
ba851a39c9703f09684a541885ed176f8fb7c868:

  NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled (2019-05-30
15:51:07 -0400)


These are mostly stable bugfixes found during testing, many during the
recent NFS bake-a-thon.

Stable bugfixes:
- SUNRPC: Fix regression in umount of a secure mount
- SUNRPC: Fix a use after free when a server rejects the RPCSEC_GSS
credential
- NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter
- NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled

Other bugfixes:
- xprtrdma: Use struct_size() in kzalloc()

Thanks,
Anna


Gustavo A. R. Silva (1):

  xprtrdma: Use struct_size() in kzalloc()

Olga Kornievskaia (1):
  SUNRPC fix regression in umount of a secure mount

Trond Myklebust (1):
  SUNRPC: Fix a use after free when a server rejects the RPCSEC_GSS
credential

Yihao Wu (2):
  NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a
waiter
  NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled

 fs/nfs/nfs4proc.c   | 32 
 net/sunrpc/clnt.c   | 30 +++---
 net/sunrpc/xprtrdma/verbs.c |  3 +--
 3 files changed, 28 insertions(+), 37 deletions(-)


Re: [GIT PULL] Please pull NFS client bugfixes

2019-04-13 Thread pr-tracker-bot
The pull request you sent on Sat, 13 Apr 2019 14:56:35 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.1-4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b60bc0665e6af8c55b946b67ea8cb235823bb74e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes

2019-04-13 Thread Trond Myklebust
Hi Linus,

The following changes since commit 582549e3fbe137eb6ce9be591aca25ca36b4:

  Merge tag 'for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2019-04-10 09:39:04 
-1000)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.1-4

for you to fetch changes up to af6b61d7ef58099c82d854395a0e002be6bd036c:

  Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping" 
(2019-04-11 15:41:14 -0400)


NFS client bugfixes for Linux 5.1

Highlights include:

Stable fixes:
- Fix a deadlock in close() due to incorrect draining of RDMA queues

Bugfixes:
- Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping"
  as it is causing stack overflows
- Fix a regression where NFSv4 getacl and fs_locations stopped working
- Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
- Fix xfstests failures due to incorrect copy_file_range() return values


Chuck Lever (2):
  NFS: Fix handling of reply page vector
  xprtrdma: Fix helper that drains the transport

Olga Kornievskaia (1):
  NFSv4.1 fix incorrect return value in copy_file_range

Tetsuo Handa (1):
  NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.

Trond Myklebust (1):
  Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping"

 fs/nfs/nfs42proc.c   |  3 ---
 fs/nfs/nfs4file.c|  4 +++-
 fs/nfs/nfs4xdr.c |  4 ++--
 fs/nfs/super.c   |  3 ++-
 include/linux/sunrpc/sched.h |  8 
 net/sunrpc/clnt.c| 45 
 net/sunrpc/xprtrdma/verbs.c  |  2 +-
 7 files changed, 16 insertions(+), 53 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes for 5.1

2019-03-16 Thread pr-tracker-bot
The pull request you sent on Sat, 16 Mar 2019 18:33:33 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.1-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/465c209db83e2cdaeb4a52f4e107a9fc636704db

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes for 5.1

2019-03-16 Thread Trond Myklebust
Hi Linus,

The following changes since commit 4d6c671ace569d4b0d3f8d92ab3aef18a5d166bc:

  SUNRPC: Take the transport send lock before binding+connecting (2019-03-10 
14:08:19 -0400)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.1-2

for you to fetch changes up to 5e3863fd597eba8c6679de805681631b1aad9bdb:

  SUNRPC: Remove redundant check for the reply length in call_decode() 
(2019-03-15 13:11:36 -0400)

Cheers
  Trond


NFS client bugfixes for Linux 5.1

Highlights include:

Bugfixes:
- Fix an Oops in SUNRPC back channel tracepoints
- Fix a SUNRPC client regression when handling oversized replies
- Fix the minimal size for SUNRPC reply buffer allocation
- rpc_decode_header() must always return a non-zero value on error
- Fix a typo in pnfs_update_layout()

Cleanups:
- Remove redundant check for the reply length in call_decode()


Olga Kornievskaia (1):
  fix null pointer deref in tracepoints in back channel

Trond Myklebust (7):
  pNFS: Fix a typo in pnfs_update_layout
  SUNRPC: Fix a client regression when handling oversized replies
  SUNRPC: Fix the minimal size for reply buffer allocation
  SUNRPC: Use the ENOTCONN error on socket disconnect
  SUNRPC: rpc_decode_header() must always return a non-zero value on error
  SUNRPC: Handle the SYSTEM_ERR rpc error
  SUNRPC: Remove redundant check for the reply length in call_decode()

 fs/nfs/pnfs.c |  2 +-
 include/trace/events/sunrpc.h |  6 --
 net/sunrpc/clnt.c | 32 ++--
 net/sunrpc/xprt.c |  2 +-
 net/sunrpc/xprtsock.c |  2 +-
 5 files changed, 21 insertions(+), 23 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




Re: [GIT PULL] Please pull NFS client bugfixes for 5.0-rc5

2019-01-31 Thread pr-tracker-bot
The pull request you sent on Thu, 31 Jan 2019 18:12:24 +:

> git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.0-3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/937108b093f74ed8ae4fed21ee215bcb773e2781

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes for 5.0-rc5

2019-01-31 Thread Schumaker, Anna
Hi Linus,

The following changes since commit deaa5c96c2f7e8b934088a1e70a0fe8797bd1149:

  SUNRPC: Address Kerberos performance/behavior regression (2019-01-15 15:36:41
-0500)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.0-3

for you to fetch changes up to 8fc75bed96bb94e23ca51bd9be4daf65c57697bf:

  NFS: Fix up return value on fatal errors in nfs_page_async_flush() 
(2019-01-29 
16:33:24 -0500)


This pull request addresses two bugs, one in the error code handling of
nfs_page_async_flush() and one to fix a potential NULL pointer dereference
in nfs_parse_devname().

Thanks,
Anna


Trond Myklebust (1):
  NFS: Fix up return value on fatal errors in nfs_page_async_flush()

Yao Liu (1):
  nfs: Fix NULL pointer dereference of dev_name

 fs/nfs/super.c | 5 +
 fs/nfs/write.c | 9 +
 2 files changed, 10 insertions(+), 4 deletions(-)


Re: [GIT PULL] Please pull NFS client bugfixes for 5.0-rc3

2019-01-19 Thread pr-tracker-bot
The pull request you sent on Fri, 18 Jan 2019 21:20:28 +:

> git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.0-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b0efca46b57071e4c281034f04d2b56edf79843d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes for 5.0-rc3

2019-01-18 Thread Schumaker, Anna
Hi Linus,

The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c:

  Linux 5.0-rc1 (2019-01-06 17:08:20 -0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.0-2

for you to fetch changes up to deaa5c96c2f7e8b934088a1e70a0fe8797bd1149:

  SUNRPC: Address Kerberos performance/behavior regression (2019-01-15 15:36:41
-0500)


These are mostly fixes for SUNRPC bugs, with a single v4.2 copy_file_range() fix
mixed in.

Stable bugfixes:
- Fix TCP receive code on archs with flush_dcache_page()

Other bugfixes:
- Fix error code in rpcrdma_buffer_create()
- Fix a double free in rpcrdma_send_ctxs_create()
- Fix kernel BUG at kernel/cred.c:825
- Fix unnecessary retry in nfs42_proc_copy_file_range()
- Ensure rq_bytes_sent is reset before request transmission
- Ensure we respect the RPCSEC_GSS sequence number limit
- Address Kerberos performance/behavior regression

Thanks,
Anna


Chuck Lever (1):
  SUNRPC: Address Kerberos performance/behavior regression

Dan Carpenter (2):
  xprtrdma: Fix error code in rpcrdma_buffer_create()
  xprtrdma: Double free in rpcrdma_sendctxs_create()

Olga Kornievskaia (1):
  NFSv4.2 fix unnecessary retry in nfs4_copy_file_range

Santosh kumar pradhan (1):
  sunrpc: kernel BUG at kernel/cred.c:825!

Trond Myklebust (3):
  SUNRPC: Fix TCP receive code on archs with flush_dcache_page()
  SUNRPC: Ensure rq_bytes_sent is reset before request transmission
  SUNRPC: Ensure we respect the RPCSEC_GSS sequence number limit

 fs/nfs/nfs4file.c  |  8 +---
 net/sunrpc/auth.c  |  3 +++
 net/sunrpc/auth_gss/auth_gss.c | 12 +---
 net/sunrpc/clnt.c  | 20 
 net/sunrpc/xprt.c  |  3 ++-
 net/sunrpc/xprtrdma/verbs.c| 10 --
 net/sunrpc/xprtsock.c  | 22 ++
 7 files changed, 53 insertions(+), 25 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for 5.0-rc3

2019-01-18 Thread Schumaker, Anna
Hi Linus,

The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c:

  Linux 5.0-rc1 (2019-01-06 17:08:20 -0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.0-2

for you to fetch changes up to deaa5c96c2f7e8b934088a1e70a0fe8797bd1149:

  SUNRPC: Address Kerberos performance/behavior regression (2019-01-15 15:36:41
-0500)


These are mostly fixes for SUNRPC bugs, with a single v4.2 copy_file_range() fix
mixed in.

Stable bugfixes:
- Fix TCP receive code on archs with flush_dcache_page()

Other bugfixes:
- Fix error code in rpcrdma_buffer_create()
- Fix a double free in rpcrdma_send_ctxs_create()
- Fix kernel BUG at kernel/cred.c:825
- Fix unnecessary retry in nfs42_proc_copy_file_range()
- Ensure rq_bytes_sent is reset before request transmission
- Ensure we respect the RPCSEC_GSS sequence number limit
- Address Kerberos performance/behavior regression

Thanks,
Anna


Chuck Lever (1):
  SUNRPC: Address Kerberos performance/behavior regression

Dan Carpenter (2):
  xprtrdma: Fix error code in rpcrdma_buffer_create()
  xprtrdma: Double free in rpcrdma_sendctxs_create()

Olga Kornievskaia (1):
  NFSv4.2 fix unnecessary retry in nfs4_copy_file_range

Santosh kumar pradhan (1):
  sunrpc: kernel BUG at kernel/cred.c:825!

Trond Myklebust (3):
  SUNRPC: Fix TCP receive code on archs with flush_dcache_page()
  SUNRPC: Ensure rq_bytes_sent is reset before request transmission
  SUNRPC: Ensure we respect the RPCSEC_GSS sequence number limit

 fs/nfs/nfs4file.c  |  8 +---
 net/sunrpc/auth.c  |  3 +++
 net/sunrpc/auth_gss/auth_gss.c | 12 +---
 net/sunrpc/clnt.c  | 20 
 net/sunrpc/xprt.c  |  3 ++-
 net/sunrpc/xprtrdma/verbs.c| 10 --
 net/sunrpc/xprtsock.c  | 22 ++
 7 files changed, 53 insertions(+), 25 deletions(-)


Re: [GIT PULL] Please pull NFS client bugfixes

2018-12-20 Thread Geert Uytterhoeven
On Wed, Dec 19, 2018 at 9:28 PM Trond Myklebust  wrote:
> The following 3 patches fix a regression in the NFS/RPC TPC re-
> connection code which can cause the RPC transmission to hang. The issue
> was discovered by Dave Wysochanski last week.
>
> With this pull, we still have one more regression to fix. MIPS is
> seeing data corruption due to the fact that the iovec_iter code does
> not appear to call flush_dcache_page() after copying data into the bvec
> pages. We need guidance from Al as to how he wants this fixed.

FTR, the report for that issue is
https://lore.kernel.org/lkml/CAMuHMdVJr0PwvJg3FeTCy7vxuyY1=s1tplho7hpsozx4wz+...@mail.gmail.com/

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [GIT PULL] Please pull NFS client bugfixes

2018-12-19 Thread pr-tracker-bot
The pull request you sent on Wed, 19 Dec 2018 16:49:11 +:

> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.20-6

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8c9dff1ebd721a3b19a002d1a901d4dc31b18ebb

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] Please pull NFS client bugfixes

2018-12-19 Thread Trond Myklebust
Hi Linus,

The following 3 patches fix a regression in the NFS/RPC TPC re-
connection code which can cause the RPC transmission to hang. The issue
was discovered by Dave Wysochanski last week.

With this pull, we still have one more regression to fix. MIPS is
seeing data corruption due to the fact that the iovec_iter code does
not appear to call flush_dcache_page() after copying data into the bvec
pages. We need guidance from Al as to how he wants this fixed.

Cheers
  Trond

The following changes since commit 7566ec393f4161572ba6f11ad5171fd5d59b0fbd:

  Linux 4.20-rc7 (2018-12-16 15:46:55 -0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.20-6

for you to fetch changes up to abc13275771fac77e2d7b129c289522dacb644b6:

  SUNRPC: Remove xprt_connect_status() (2018-12-18 11:04:10 -0500)


NFS client bugfixes for Linux 4.20

Bugfixes:
- Fix TCP socket disconnection races by ensuring we always call
  xprt_disconnect_done() after releasing the socket.
- Fix a race when clearing both XPRT_CONNECTING and XPRT_LOCKED
- Remove xprt_connect_status() so it does not mask errors that should
  be handled by call_connect_status()


Trond Myklebust (3):
  SUNRPC: Fix disconnection races
  SUNRPC: Fix a race with XPRT_CONNECTING
  SUNRPC: Remove xprt_connect_status()

 net/sunrpc/clnt.c |  1 +
 net/sunrpc/xprt.c | 35 ---
 net/sunrpc/xprtsock.c | 10 --
 3 files changed, 9 insertions(+), 37 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com




[GIT PULL] Please pull NFS client bugfixes for 4.19

2018-09-14 Thread Schumaker, Anna
Hi Linus,

The following changes since commit 0af4c8be97a14d1df8a78b4993a09e8dff545a18:

  pNFS: Remove unwanted optimisation of layoutget (2018-08-21 13:39:08 -0400)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.19-2

for you to fetch changes up to 9f0c5124f4a82503ee5d55c60b0b9c6afc3af68b:

  NFS: Don't open code clearing of delegation state (2018-09-14 16:24:27 -0400)



These are a handful of fixes for problems that Trond found.  Sorry that
patch #1 and #3 have the same name, a second issue was found after applying
the first patch.

Thanks,
Anna



Trond Myklebust (5):
  NFSv4: Fix a tracepoint Oops in initiate_file_draining()
  pNFS: Ensure we return the error if someone kills a waiting layoutget
  NFSv4: Fix a tracepoint Oops in initiate_file_draining()
  NFSv4.1 fix infinite loop on I/O.
  NFS: Don't open code clearing of delegation state

 fs/nfs/nfs4proc.c  | 31 +++
 fs/nfs/nfs4state.c |  2 ++
 fs/nfs/nfs4trace.h |  4 ++--
 fs/nfs/pnfs.c  | 26 --
 4 files changed, 39 insertions(+), 24 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for 4.19

2018-09-14 Thread Schumaker, Anna
Hi Linus,

The following changes since commit 0af4c8be97a14d1df8a78b4993a09e8dff545a18:

  pNFS: Remove unwanted optimisation of layoutget (2018-08-21 13:39:08 -0400)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.19-2

for you to fetch changes up to 9f0c5124f4a82503ee5d55c60b0b9c6afc3af68b:

  NFS: Don't open code clearing of delegation state (2018-09-14 16:24:27 -0400)



These are a handful of fixes for problems that Trond found.  Sorry that
patch #1 and #3 have the same name, a second issue was found after applying
the first patch.

Thanks,
Anna



Trond Myklebust (5):
  NFSv4: Fix a tracepoint Oops in initiate_file_draining()
  pNFS: Ensure we return the error if someone kills a waiting layoutget
  NFSv4: Fix a tracepoint Oops in initiate_file_draining()
  NFSv4.1 fix infinite loop on I/O.
  NFS: Don't open code clearing of delegation state

 fs/nfs/nfs4proc.c  | 31 +++
 fs/nfs/nfs4state.c |  2 ++
 fs/nfs/nfs4trace.h |  4 ++--
 fs/nfs/pnfs.c  | 26 --
 4 files changed, 39 insertions(+), 24 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for 4.18

2018-06-21 Thread Trond Myklebust
Hi Linus,

The following changes since commit 93b7f7ad2018d2037559b1d0892417864c78b371:

  skip LAYOUTRETURN if layout is invalid (2018-06-12 08:48:04 -0400)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.18-2

for you to fetch changes up to 7b0df92ac12148098391bf53f3494af17812f264:

  pNFS/flexfiles: Process writeback resends from nfsiod context as well 
(2018-06-19 09:25:27 -0400)

Cheers,
  Trond


NFS client bugfixes for Linux 4.18

Hightlights include:

Bugfixes:
- Fix an rcu deadlock in nfs_delegation_find_inode()
- Fix NFSv4 deadlocks due to not freeing the session slot in layoutget
- Don't send layoutreturn if the layout is already invalid
- Prevent duplicate XID allocation
- flexfiles: Don't tie up all the rpciod threads in resends


Anna Schumaker (1):
  NFS: Fix an rcu deadlock in nfs_delegation_find_inode()

Chuck Lever (1):
  sunrpc: Prevent duplicate XID allocation

Trond Myklebust (4):
  pNFS: Always free the session slot on error in 
nfs4_layoutget_handle_exception
  pNFS: Don't send layoutreturn if the layout is already invalid
  pNFS/flexfiles: Don't tie up all the rpciod threads in resends
  pNFS/flexfiles: Process writeback resends from nfsiod context as well

 fs/nfs/delegation.c|  4 +++-
 fs/nfs/flexfilelayout/flexfilelayout.c | 21 -
 fs/nfs/nfs4proc.c  | 33 ++---
 fs/nfs/pnfs.h  |  5 +
 include/linux/nfs_xdr.h|  2 ++
 net/sunrpc/xprt.c  | 10 +++---
 6 files changed, 59 insertions(+), 16 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com



[GIT PULL] Please pull NFS client bugfixes for 4.18

2018-06-21 Thread Trond Myklebust
Hi Linus,

The following changes since commit 93b7f7ad2018d2037559b1d0892417864c78b371:

  skip LAYOUTRETURN if layout is invalid (2018-06-12 08:48:04 -0400)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.18-2

for you to fetch changes up to 7b0df92ac12148098391bf53f3494af17812f264:

  pNFS/flexfiles: Process writeback resends from nfsiod context as well 
(2018-06-19 09:25:27 -0400)

Cheers,
  Trond


NFS client bugfixes for Linux 4.18

Hightlights include:

Bugfixes:
- Fix an rcu deadlock in nfs_delegation_find_inode()
- Fix NFSv4 deadlocks due to not freeing the session slot in layoutget
- Don't send layoutreturn if the layout is already invalid
- Prevent duplicate XID allocation
- flexfiles: Don't tie up all the rpciod threads in resends


Anna Schumaker (1):
  NFS: Fix an rcu deadlock in nfs_delegation_find_inode()

Chuck Lever (1):
  sunrpc: Prevent duplicate XID allocation

Trond Myklebust (4):
  pNFS: Always free the session slot on error in 
nfs4_layoutget_handle_exception
  pNFS: Don't send layoutreturn if the layout is already invalid
  pNFS/flexfiles: Don't tie up all the rpciod threads in resends
  pNFS/flexfiles: Process writeback resends from nfsiod context as well

 fs/nfs/delegation.c|  4 +++-
 fs/nfs/flexfilelayout/flexfilelayout.c | 21 -
 fs/nfs/nfs4proc.c  | 33 ++---
 fs/nfs/pnfs.h  |  5 +
 include/linux/nfs_xdr.h|  2 ++
 net/sunrpc/xprt.c  | 10 +++---
 6 files changed, 59 insertions(+), 16 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.mykleb...@hammerspace.com



[GIT PULL] Please pull NFS client bugfixes

2018-03-12 Thread Trond Myklebust
Hi Linus,

The following changes since commit 1b88accf6a659c46d5c8e68912896f112bf882bb:

  Merge tag 'for_linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost (2018-03-07 17:49:33 
-0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.16-4

for you to fetch changes up to c4f24df942a181699c5bab01b8e5e82b925f77f3:

  NFS: Fix unstable write completion (2018-03-08 12:56:32 -0500)


NFS client bugfixes for Linux 4.16

Hightlights include the following stable fixes:

- NFS: Fix an incorrect type in struct nfs_direct_req
- pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
- NFS: Fix unstable write completion


Trond Myklebust (3):
  NFS: Fix an incorrect type in struct nfs_direct_req
  pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
  NFS: Fix unstable write completion

 fs/nfs/direct.c |  2 +-
 fs/nfs/pnfs.c   | 13 ++---
 fs/nfs/write.c  | 83 ++---
 3 files changed, 54 insertions(+), 44 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes

2018-03-12 Thread Trond Myklebust
Hi Linus,

The following changes since commit 1b88accf6a659c46d5c8e68912896f112bf882bb:

  Merge tag 'for_linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost (2018-03-07 17:49:33 
-0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.16-4

for you to fetch changes up to c4f24df942a181699c5bab01b8e5e82b925f77f3:

  NFS: Fix unstable write completion (2018-03-08 12:56:32 -0500)


NFS client bugfixes for Linux 4.16

Hightlights include the following stable fixes:

- NFS: Fix an incorrect type in struct nfs_direct_req
- pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
- NFS: Fix unstable write completion


Trond Myklebust (3):
  NFS: Fix an incorrect type in struct nfs_direct_req
  pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
  NFS: Fix unstable write completion

 fs/nfs/direct.c |  2 +-
 fs/nfs/pnfs.c   | 13 ++---
 fs/nfs/write.c  | 83 ++---
 3 files changed, 54 insertions(+), 44 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes

2018-02-25 Thread Trond Myklebust
Hi Linus,

The following changes since commit af3e79d29555b97dd096e2f8e36a0f50213808a8:

  Merge tag 'leds_for-4.16-rc3' of 
git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds 
(2018-02-20 10:05:02 -0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.16-3

for you to fetch changes up to 1b7204064582792b77c6be796e78bd821c9f71b1:

  NFS: make struct nlmclnt_fl_close_lock_ops static (2018-02-22 12:23:01 -0500)


NFS client bugfixes for Linux 4.16

Hightlights include:
- Fix a broken cast in nfs4_callback_recallany()
- Fix an Oops during NFSv4 migration events
- make struct nlmclnt_fl_close_lock_ops static


bill.ba...@oracle.com (1):
  nfs: system crashes after NFS4ERR_MOVED recovery

Colin Ian King (1):
  NFS: make struct nlmclnt_fl_close_lock_ops static

Trond Myklebust (1):
  NFSv4: Fix broken cast in nfs4_callback_recallany()

 fs/nfs/callback_proc.c | 14 ++
 fs/nfs/nfs3proc.c  |  2 +-
 fs/nfs/nfs4client.c|  6 --
 3 files changed, 11 insertions(+), 11 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes

2018-02-25 Thread Trond Myklebust
Hi Linus,

The following changes since commit af3e79d29555b97dd096e2f8e36a0f50213808a8:

  Merge tag 'leds_for-4.16-rc3' of 
git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds 
(2018-02-20 10:05:02 -0800)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.16-3

for you to fetch changes up to 1b7204064582792b77c6be796e78bd821c9f71b1:

  NFS: make struct nlmclnt_fl_close_lock_ops static (2018-02-22 12:23:01 -0500)


NFS client bugfixes for Linux 4.16

Hightlights include:
- Fix a broken cast in nfs4_callback_recallany()
- Fix an Oops during NFSv4 migration events
- make struct nlmclnt_fl_close_lock_ops static


bill.ba...@oracle.com (1):
  nfs: system crashes after NFS4ERR_MOVED recovery

Colin Ian King (1):
  NFS: make struct nlmclnt_fl_close_lock_ops static

Trond Myklebust (1):
  NFSv4: Fix broken cast in nfs4_callback_recallany()

 fs/nfs/callback_proc.c | 14 ++
 fs/nfs/nfs3proc.c  |  2 +-
 fs/nfs/nfs4client.c|  6 --
 3 files changed, 11 insertions(+), 11 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes and updates

2018-02-09 Thread Trond Myklebust
Hi Linus,

A few bugfixes and some small sunrpc latency/performance improvements
before the merge window closes:

The following changes since commit e231c6879cfd44e4fffd384bb6dd7d313249a523:

  NFS: Fix a race between mmap() and O_DIRECT (2018-01-28 22:00:15 -0500)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.16-2

for you to fetch changes up to 0afa6b4412988019db14c6bfb8c6cbdf120ca9ad:

  SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context (2018-02-09 
09:39:42 -0500)

Cheers
  Trond


NFS client bugfixes and latency improvements for Linux 4.16

Highlights include:

Stable fixes:
- Fix an incorrect calculation of the RDMA send scatter gather element limit
- Fix an Oops when attempting to free resources after RDMA device removal

Bugfixes:
- SUNRPC: Ensure we always release the TCP socket in a timely fashion when
  the connection is shut down.
- SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context

Latency/Performance:
- SUNRPC: Queue latency sensitive socket tasks to the less contended
  xprtiod queue
- SUNRPC: Make the xprtiod workqueue unbounded.
- SUNRPC: Make the rpciod workqueue unbounded


Chuck Lever (2):
  xprtrdma: Fix calculation of ri_max_send_sges
  xprtrdma: Fix BUG after a device removal

Olga Kornievskaia (1):
  fix parallelism for rpc tasks

Trond Myklebust (5):
  SUNRPC: Ensure we always close the socket after a connection shuts down
  Merge tag 'nfs-rdma-for-4.16-2' of 
git://git.linux-nfs.org/projects/anna/linux-nfs
  SUNRPC: Queue latency-sensitive socket tasks to xprtiod
  Make the xprtiod workqueue unbounded.
  SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context

 include/linux/sunrpc/sched.h   |  3 +++
 net/sunrpc/sched.c | 16 ++--
 net/sunrpc/xprt.c  |  3 ++-
 net/sunrpc/xprtrdma/rpc_rdma.c |  2 +-
 net/sunrpc/xprtrdma/verbs.c|  8 
 net/sunrpc/xprtsock.c  | 27 ---
 6 files changed, 36 insertions(+), 23 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes and updates

2018-02-09 Thread Trond Myklebust
Hi Linus,

A few bugfixes and some small sunrpc latency/performance improvements
before the merge window closes:

The following changes since commit e231c6879cfd44e4fffd384bb6dd7d313249a523:

  NFS: Fix a race between mmap() and O_DIRECT (2018-01-28 22:00:15 -0500)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.16-2

for you to fetch changes up to 0afa6b4412988019db14c6bfb8c6cbdf120ca9ad:

  SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context (2018-02-09 
09:39:42 -0500)

Cheers
  Trond


NFS client bugfixes and latency improvements for Linux 4.16

Highlights include:

Stable fixes:
- Fix an incorrect calculation of the RDMA send scatter gather element limit
- Fix an Oops when attempting to free resources after RDMA device removal

Bugfixes:
- SUNRPC: Ensure we always release the TCP socket in a timely fashion when
  the connection is shut down.
- SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context

Latency/Performance:
- SUNRPC: Queue latency sensitive socket tasks to the less contended
  xprtiod queue
- SUNRPC: Make the xprtiod workqueue unbounded.
- SUNRPC: Make the rpciod workqueue unbounded


Chuck Lever (2):
  xprtrdma: Fix calculation of ri_max_send_sges
  xprtrdma: Fix BUG after a device removal

Olga Kornievskaia (1):
  fix parallelism for rpc tasks

Trond Myklebust (5):
  SUNRPC: Ensure we always close the socket after a connection shuts down
  Merge tag 'nfs-rdma-for-4.16-2' of 
git://git.linux-nfs.org/projects/anna/linux-nfs
  SUNRPC: Queue latency-sensitive socket tasks to xprtiod
  Make the xprtiod workqueue unbounded.
  SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context

 include/linux/sunrpc/sched.h   |  3 +++
 net/sunrpc/sched.c | 16 ++--
 net/sunrpc/xprt.c  |  3 ++-
 net/sunrpc/xprtrdma/rpc_rdma.c |  2 +-
 net/sunrpc/xprtrdma/verbs.c|  8 
 net/sunrpc/xprtsock.c  | 27 ---
 6 files changed, 36 insertions(+), 23 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes for 4.15

2017-12-15 Thread Anna Schumaker
Hi Linus,

The following changes since commit eb5b46faa693470681ec7c28cc2436edd1571198:

  SUNRPC: Handle ENETDOWN errors (2017-11-30 11:52:52 -0500)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.15-3

for you to fetch changes up to 90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0:

  SUNRPC: Fix a race in the receive code path (2017-12-15 14:31:56 -0500)


This pull request has two stable bugfixes, one to fix a BUG_ON() when 
nfs_commit_inode() is called with no outstanding commit requests and another to 
fix a race in the SUNRPC receive codepath.

Additionally, there are also fixes for an NFS client deadlock and an xprtrdma 
performance regression.

Cheers,
Anna

Chuck Lever (1):
  xprtrdma: Spread reply processing over more CPUs

Scott Mayhew (2):
  nfs: fix a deadlock in nfs client initialization
  nfs: don't wait on commit in nfs_commit_inode() if there were no commit 
requests

Trond Myklebust (1):
  SUNRPC: Fix a race in the receive code path

 fs/nfs/client.c | 11 +++
 fs/nfs/nfs4client.c | 17 +
 fs/nfs/write.c  |  2 ++
 net/sunrpc/xprt.c   | 28 +++-
 net/sunrpc/xprtrdma/rpc_rdma.c  |  6 +-
 net/sunrpc/xprtrdma/transport.c |  2 ++
 net/sunrpc/xprtrdma/verbs.c |  2 +-
 net/sunrpc/xprtrdma/xprt_rdma.h |  1 +
 8 files changed, 50 insertions(+), 19 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for 4.15

2017-12-15 Thread Anna Schumaker
Hi Linus,

The following changes since commit eb5b46faa693470681ec7c28cc2436edd1571198:

  SUNRPC: Handle ENETDOWN errors (2017-11-30 11:52:52 -0500)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.15-3

for you to fetch changes up to 90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0:

  SUNRPC: Fix a race in the receive code path (2017-12-15 14:31:56 -0500)


This pull request has two stable bugfixes, one to fix a BUG_ON() when 
nfs_commit_inode() is called with no outstanding commit requests and another to 
fix a race in the SUNRPC receive codepath.

Additionally, there are also fixes for an NFS client deadlock and an xprtrdma 
performance regression.

Cheers,
Anna

Chuck Lever (1):
  xprtrdma: Spread reply processing over more CPUs

Scott Mayhew (2):
  nfs: fix a deadlock in nfs client initialization
  nfs: don't wait on commit in nfs_commit_inode() if there were no commit 
requests

Trond Myklebust (1):
  SUNRPC: Fix a race in the receive code path

 fs/nfs/client.c | 11 +++
 fs/nfs/nfs4client.c | 17 +
 fs/nfs/write.c  |  2 ++
 net/sunrpc/xprt.c   | 28 +++-
 net/sunrpc/xprtrdma/rpc_rdma.c  |  6 +-
 net/sunrpc/xprtrdma/transport.c |  2 ++
 net/sunrpc/xprtrdma/verbs.c |  2 +-
 net/sunrpc/xprtrdma/xprt_rdma.h |  1 +
 8 files changed, 50 insertions(+), 19 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for Linux 4.12

2017-06-03 Thread Trond Myklebust
Hi Linus,

The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d:

  Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.12-2

for you to fetch changes up to 4f253e1eb628f5adf7ca4f43aab4bbb1bfffa081:

  nfs: Mark unnecessarily extern functions as static (2017-06-03 16:06:38 -0400)


NFS client bugfixes for Linux 4.12

Bugfixes include:

- Fix a typo in commit e092693443b that breaks copy offload
- Fix the connect error propagation in xs_tcp_setup_socket()
- Fix a lock leak in nfs40_walk_client_list
- Verify that pNFS requests lie within the offset range of the layout segment.


Benjamin Coddington (1):
  pnfs: Fix the check for requests in range of layout segment

Dan Carpenter (1):
  pNFS/flexfiles: missing error code in ff_layout_alloc_lseg()

Jan Kara (1):
  nfs: Mark unnecessarily extern functions as static

Markus Elfring (1):
  xprtrdma: Delete an error message for a failed memory allocation in 
xprt_rdma_bc_setup()

NeilBrown (1):
  SUNRPC: ensure correct error is reported by xs_tcp_setup_socket()

Olga Kornievskaia (1):
  NFS fix COMMIT after COPY

Trond Myklebust (1):
  NFSv4.0: Fix a lock leak in nfs40_walk_client_list

 fs/nfs/flexfilelayout/flexfilelayout.c |  1 +
 fs/nfs/internal.h  |  2 --
 fs/nfs/nfs42proc.c |  2 +-
 fs/nfs/nfs4client.c|  1 -
 fs/nfs/pnfs.c  | 25 +
 fs/nfs/pnfs.h  | 10 ++
 fs/nfs/super.c |  5 +++--
 net/sunrpc/xprtrdma/backchannel.c  |  6 ++
 net/sunrpc/xprtsock.c  |  7 ++-
 9 files changed, 40 insertions(+), 19 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes for Linux 4.12

2017-06-03 Thread Trond Myklebust
Hi Linus,

The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d:

  Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.12-2

for you to fetch changes up to 4f253e1eb628f5adf7ca4f43aab4bbb1bfffa081:

  nfs: Mark unnecessarily extern functions as static (2017-06-03 16:06:38 -0400)


NFS client bugfixes for Linux 4.12

Bugfixes include:

- Fix a typo in commit e092693443b that breaks copy offload
- Fix the connect error propagation in xs_tcp_setup_socket()
- Fix a lock leak in nfs40_walk_client_list
- Verify that pNFS requests lie within the offset range of the layout segment.


Benjamin Coddington (1):
  pnfs: Fix the check for requests in range of layout segment

Dan Carpenter (1):
  pNFS/flexfiles: missing error code in ff_layout_alloc_lseg()

Jan Kara (1):
  nfs: Mark unnecessarily extern functions as static

Markus Elfring (1):
  xprtrdma: Delete an error message for a failed memory allocation in 
xprt_rdma_bc_setup()

NeilBrown (1):
  SUNRPC: ensure correct error is reported by xs_tcp_setup_socket()

Olga Kornievskaia (1):
  NFS fix COMMIT after COPY

Trond Myklebust (1):
  NFSv4.0: Fix a lock leak in nfs40_walk_client_list

 fs/nfs/flexfilelayout/flexfilelayout.c |  1 +
 fs/nfs/internal.h  |  2 --
 fs/nfs/nfs42proc.c |  2 +-
 fs/nfs/nfs4client.c|  1 -
 fs/nfs/pnfs.c  | 25 +
 fs/nfs/pnfs.h  | 10 ++
 fs/nfs/super.c |  5 +++--
 net/sunrpc/xprtrdma/backchannel.c  |  6 ++
 net/sunrpc/xprtsock.c  |  7 ++-
 9 files changed, 40 insertions(+), 19 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes for 4.11

2017-03-17 Thread Anna Schumaker
Hi Linus,

The following changes since commit ed92d8c137b7794c2c2aa14479298b9885967607:

  NFSv4: fix getacl ERANGE for some ACL buffer sizes (2017-02-23 17:23:35 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.11-2

for you to fetch changes up to da066f3f039eba3e72e97b2ccad0dd8b45ba84bd:

  pNFS/flexfiles: never nfs4_mark_deviceid_unavailable (2017-03-17 16:07:17 
-0400)


We have a handful of stable fixes to fix kernel warnings and other bugs that 
have been
around for a while.  We've also found a few other reference counting bugs and 
memory leaks since the initial 4.11 pull.

Stable Bugfixes:
- Fix decrementing nrequests in NFS v4.2 COPY to fix kernel warnings
- Prevent a double free in async nfs4_exchange_id()
- Squelch a kbuild sparse complaint for xprtrdma

Other Bugfixes:
- Fix a typo (NFS_ATTR_FATTR_GROUP_NAME) that causes a memory leak
- Fix a reference leak that causes kernel warnings
- Make nfs4_cb_sv_ops static to fix a sparse warning
- Respect a server's max size in CREATE_SESSION
- Handle errors from nfs4_pnfs_ds_connect
- Flexfiles layout shouldn't mark devices as unavailable


Thanks,
Anna


Chuck Lever (1):
  xprtrdma: Squelch kbuild sparse complaint

Jason Yan (1):
  nfs: make nfs4_cb_sv_ops static

Kinglong Mee (3):
  nfs4: fix a typo of NFS_ATTR_FATTR_GROUP_NAME
  NFSv4: fix a reference leak caused WARNING messages
  NFS: fix the fault nrequests decreasing for nfs_inode COPY

Olga Kornievskaia (2):
  NFS prevent double free in async nfs4_exchange_id
  NFSv4.1 respect server's max size in CREATE_SESSION

Weston Andros Adamson (2):
  pNFS: return status from nfs4_pnfs_ds_connect
  pNFS/flexfiles: never nfs4_mark_deviceid_unavailable

 fs/nfs/callback.c |  4 ++--
 fs/nfs/client.c   | 25 -
 fs/nfs/filelayout/filelayoutdev.c |  8 +++-
 fs/nfs/flexfilelayout/flexfilelayout.h| 14 +-
 fs/nfs/flexfilelayout/flexfilelayoutdev.c |  5 +++--
 fs/nfs/internal.h |  2 ++
 fs/nfs/nfs4client.c   |  4 ++--
 fs/nfs/nfs4proc.c | 11 ---
 fs/nfs/nfs4xdr.c  |  2 +-
 fs/nfs/pnfs.h |  2 +-
 fs/nfs/pnfs_nfs.c | 31 +--
 fs/nfs/write.c|  6 --
 net/sunrpc/xprtrdma/verbs.c   |  3 ++-
 13 files changed, 90 insertions(+), 27 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for 4.11

2017-03-17 Thread Anna Schumaker
Hi Linus,

The following changes since commit ed92d8c137b7794c2c2aa14479298b9885967607:

  NFSv4: fix getacl ERANGE for some ACL buffer sizes (2017-02-23 17:23:35 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.11-2

for you to fetch changes up to da066f3f039eba3e72e97b2ccad0dd8b45ba84bd:

  pNFS/flexfiles: never nfs4_mark_deviceid_unavailable (2017-03-17 16:07:17 
-0400)


We have a handful of stable fixes to fix kernel warnings and other bugs that 
have been
around for a while.  We've also found a few other reference counting bugs and 
memory leaks since the initial 4.11 pull.

Stable Bugfixes:
- Fix decrementing nrequests in NFS v4.2 COPY to fix kernel warnings
- Prevent a double free in async nfs4_exchange_id()
- Squelch a kbuild sparse complaint for xprtrdma

Other Bugfixes:
- Fix a typo (NFS_ATTR_FATTR_GROUP_NAME) that causes a memory leak
- Fix a reference leak that causes kernel warnings
- Make nfs4_cb_sv_ops static to fix a sparse warning
- Respect a server's max size in CREATE_SESSION
- Handle errors from nfs4_pnfs_ds_connect
- Flexfiles layout shouldn't mark devices as unavailable


Thanks,
Anna


Chuck Lever (1):
  xprtrdma: Squelch kbuild sparse complaint

Jason Yan (1):
  nfs: make nfs4_cb_sv_ops static

Kinglong Mee (3):
  nfs4: fix a typo of NFS_ATTR_FATTR_GROUP_NAME
  NFSv4: fix a reference leak caused WARNING messages
  NFS: fix the fault nrequests decreasing for nfs_inode COPY

Olga Kornievskaia (2):
  NFS prevent double free in async nfs4_exchange_id
  NFSv4.1 respect server's max size in CREATE_SESSION

Weston Andros Adamson (2):
  pNFS: return status from nfs4_pnfs_ds_connect
  pNFS/flexfiles: never nfs4_mark_deviceid_unavailable

 fs/nfs/callback.c |  4 ++--
 fs/nfs/client.c   | 25 -
 fs/nfs/filelayout/filelayoutdev.c |  8 +++-
 fs/nfs/flexfilelayout/flexfilelayout.h| 14 +-
 fs/nfs/flexfilelayout/flexfilelayoutdev.c |  5 +++--
 fs/nfs/internal.h |  2 ++
 fs/nfs/nfs4client.c   |  4 ++--
 fs/nfs/nfs4proc.c | 11 ---
 fs/nfs/nfs4xdr.c  |  2 +-
 fs/nfs/pnfs.h |  2 +-
 fs/nfs/pnfs_nfs.c | 31 +--
 fs/nfs/write.c|  6 --
 net/sunrpc/xprtrdma/verbs.c   |  3 ++-
 13 files changed, 90 insertions(+), 27 deletions(-)


[GIT PULL] Please pull NFS client bugfixes

2017-01-28 Thread Trond Myklebust
Hi Linus,

The following changes since commit 7a308bb3016f57e5be11a677d15b821536419d36:

  Linux 4.10-rc5 (2017-01-22 12:54:15 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.10-4

for you to fetch changes up to ee6625a948d2e47267ec8fd97307fdd67d0f8a5b:

  pNFS: Fix a reference leak in _pnfs_return_layout (2017-01-26 15:50:41 -0500)


NFS client bugfixes for Linux 4.10

Stable patches:
- NFSv4.1: Fix a deadlock in layoutget
- NFSv4 must not bump sequence ids on NFS4ERR_MOVED errors
- NFSv4 Fix a regression with OPEN EXCLUSIVE4 mode
- Fix a memory leak when removing the SUNRPC module

Bugfixes:
- Fix a reference leak in _pnfs_return_layout


Benjamin Coddington (1):
  NFSv4.0: always send mode in SETATTR after EXCLUSIVE4

Chuck Lever (2):
  nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
  nfs: Fix "Don't increment lock sequence ID after NFS4ERR_MOVED"

Kinglong Mee (1):
  SUNRPC: cleanup ida information when removing sunrpc module

Trond Myklebust (2):
  NFSv4.1: Fix a deadlock in layoutget
  pNFS: Fix a reference leak in _pnfs_return_layout

 fs/nfs/nfs4proc.c   | 4 +++-
 fs/nfs/nfs4state.c  | 1 +
 fs/nfs/pnfs.c   | 2 +-
 include/linux/nfs4.h| 3 ++-
 include/linux/sunrpc/clnt.h | 1 +
 net/sunrpc/clnt.c   | 5 +
 net/sunrpc/sunrpc_syms.c| 1 +
 7 files changed, 14 insertions(+), 3 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes

2017-01-28 Thread Trond Myklebust
Hi Linus,

The following changes since commit 7a308bb3016f57e5be11a677d15b821536419d36:

  Linux 4.10-rc5 (2017-01-22 12:54:15 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.10-4

for you to fetch changes up to ee6625a948d2e47267ec8fd97307fdd67d0f8a5b:

  pNFS: Fix a reference leak in _pnfs_return_layout (2017-01-26 15:50:41 -0500)


NFS client bugfixes for Linux 4.10

Stable patches:
- NFSv4.1: Fix a deadlock in layoutget
- NFSv4 must not bump sequence ids on NFS4ERR_MOVED errors
- NFSv4 Fix a regression with OPEN EXCLUSIVE4 mode
- Fix a memory leak when removing the SUNRPC module

Bugfixes:
- Fix a reference leak in _pnfs_return_layout


Benjamin Coddington (1):
  NFSv4.0: always send mode in SETATTR after EXCLUSIVE4

Chuck Lever (2):
  nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
  nfs: Fix "Don't increment lock sequence ID after NFS4ERR_MOVED"

Kinglong Mee (1):
  SUNRPC: cleanup ida information when removing sunrpc module

Trond Myklebust (2):
  NFSv4.1: Fix a deadlock in layoutget
  pNFS: Fix a reference leak in _pnfs_return_layout

 fs/nfs/nfs4proc.c   | 4 +++-
 fs/nfs/nfs4state.c  | 1 +
 fs/nfs/pnfs.c   | 2 +-
 include/linux/nfs4.h| 3 ++-
 include/linux/sunrpc/clnt.h | 1 +
 net/sunrpc/clnt.c   | 5 +
 net/sunrpc/sunrpc_syms.c| 1 +
 7 files changed, 14 insertions(+), 3 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes

2017-01-16 Thread Trond Myklebust
Hi Linus,

The following changes since commit a121103c922847ba5010819a3f250f1f7fc84ab8:

  Linux 4.10-rc3 (2017-01-08 14:18:17 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.10-3

for you to fetch changes up to c6180a6237174f481dc856ed6e890d8196b6f0fb:

  NFSv4: Fix client recovery when server reboots multiple times (2017-01-13 
13:31:32 -0500)


NFS client bugfixes for Linux 4.10

Bugfixes:
- Fix invalid fget()/fput() calls when doing file locking
- Fix multiple directory cache invalidation issues due to the client failing
  to recognise that the directory wasn't changed.
- Fix client recovery when server reboots multiple times


Benjamin Coddington (1):
  nfs: Don't take a reference on fl->fl_file for LOCK operation

Trond Myklebust (5):
  NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file was 
created
  NFSv4: Don't apply change_info4 twice on rename within a directory
  NFSv4: Don't call update_changeattr() unless the unlink is successful
  NFSv4: update_changeattr should update the attribute timestamp
  NFSv4: Fix client recovery when server reboots multiple times

 fs/nfs/nfs4proc.c  | 29 ++---
 fs/nfs/nfs4state.c |  1 -
 2 files changed, 18 insertions(+), 12 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes

2017-01-16 Thread Trond Myklebust
Hi Linus,

The following changes since commit a121103c922847ba5010819a3f250f1f7fc84ab8:

  Linux 4.10-rc3 (2017-01-08 14:18:17 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.10-3

for you to fetch changes up to c6180a6237174f481dc856ed6e890d8196b6f0fb:

  NFSv4: Fix client recovery when server reboots multiple times (2017-01-13 
13:31:32 -0500)


NFS client bugfixes for Linux 4.10

Bugfixes:
- Fix invalid fget()/fput() calls when doing file locking
- Fix multiple directory cache invalidation issues due to the client failing
  to recognise that the directory wasn't changed.
- Fix client recovery when server reboots multiple times


Benjamin Coddington (1):
  nfs: Don't take a reference on fl->fl_file for LOCK operation

Trond Myklebust (5):
  NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file was 
created
  NFSv4: Don't apply change_info4 twice on rename within a directory
  NFSv4: Don't call update_changeattr() unless the unlink is successful
  NFSv4: update_changeattr should update the attribute timestamp
  NFSv4: Fix client recovery when server reboots multiple times

 fs/nfs/nfs4proc.c  | 29 ++---
 fs/nfs/nfs4state.c |  1 -
 2 files changed, 18 insertions(+), 12 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes

2016-10-21 Thread Anna Schumaker
Hi Linus,

The following changes since commit 3f807e5ae5597bd65a6fff684083e8eaa21f3fa7:

  NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic (2016-10-04 
16:30:54 -0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.9-2

for you to fetch changes up to 83aa3e0f791d458a28f91d7a50f92926f971ef7c:

  nfs4: fix missing-braces warning (2016-10-19 14:39:15 -0400)


Just two bugfixes this time:

Stable bugfix:
- Fix last_write_offset incorrectly set to page boundary

Other bugfix:
- Fix missing-braces warning

Thanks,
Anna

Arnd Bergmann (1):
  nfs4: fix missing-braces warning

Benjamin Coddington (1):
  pnfs/blocklayout: fix last_write_offset incorrectly set to page boundary

 fs/nfs/blocklayout/blocklayout.c | 3 ++-
 fs/nfs/nfs4proc.c| 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)


[GIT PULL] Please pull NFS client bugfixes

2016-10-21 Thread Anna Schumaker
Hi Linus,

The following changes since commit 3f807e5ae5597bd65a6fff684083e8eaa21f3fa7:

  NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic (2016-10-04 
16:30:54 -0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.9-2

for you to fetch changes up to 83aa3e0f791d458a28f91d7a50f92926f971ef7c:

  nfs4: fix missing-braces warning (2016-10-19 14:39:15 -0400)


Just two bugfixes this time:

Stable bugfix:
- Fix last_write_offset incorrectly set to page boundary

Other bugfix:
- Fix missing-braces warning

Thanks,
Anna

Arnd Bergmann (1):
  nfs4: fix missing-braces warning

Benjamin Coddington (1):
  pnfs/blocklayout: fix last_write_offset incorrectly set to page boundary

 fs/nfs/blocklayout/blocklayout.c | 3 ++-
 fs/nfs/nfs4proc.c| 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for Linux 4.8

2016-08-30 Thread Trond Myklebust
Hi Linus,

The following changes since commit 694d0d0bb2030d2e36df73e2d23d5770511dbc8d:

  Linux 4.8-rc2 (2016-08-14 19:11:36 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.8-3

for you to fetch changes up to 98b0f80c2396224bbbed81792b526e6c72ba9efa:

  NFSv4.x: Fix a refcount leak in nfs_callback_up_net (2016-08-30 09:26:57 
-0400)

Cheers,
  Trond


NFS client bugfixes for 4.8

Highlights include:

Stable patches:
- Fix a refcount leak in nfs_callback_up_net
- Fix an Oopsable condition when the flexfile pNFS driver connection to
  the DS fails
- Fix an Oopsable condition in NFSv4.1 server callback races
- Ensure pNFS clients stop doing I/O to the DS if their lease has expired,
  as required by the NFSv4.1 protocol

Bugfixes:
- Fix potential looping in the NFSv4.x migration code
- Patch series to close callback races for OPEN, LAYOUTGET and LAYOUTRETURN
- Silence WARN_ON when NFSv4.1 over RDMA is in use
- Fix a LAYOUTCOMMIT race in the pNFS/blocks client
- Fix pNFS timeout issues when the DS fails


Benjamin Coddington (2):
  pnfs/blocklayout: update last_write_offset atomically with extents
  NFS4: Avoid migration loops

Chuck Lever (1):
  SUNRPC: Silence WARN_ON when NFSv4.1 over RDMA is in use

Trond Myklebust (12):
  pNFS/flexfiles: Fix layoutstat periodic reporting
  NFS: Allow the mount option retrans=0
  pNFS/flexfiles: Set reasonable default retrans values for the data channel
  pNFS: Handle NFS4ERR_OLD_STATEID correctly in LAYOUTSTAT calls
  pNFS: The client must not do I/O to the DS if it's lease has expired
  NFSv4.1: Fix Oopsable condition in server callback races
  NFSv4.1: Delay callback processing when there are referring triples
  NFSv4.1: Defer bumping the slot sequence number until we free the slot
  NFSv4.1: Close callback races for OPEN, LAYOUTGET and LAYOUTRETURN
  NFSv4.1: Remove obsolete and incorrrect assignment in 
nfs4_callback_sequence
  pNFS/flexfiles: Fix an Oopsable condition when connection to the DS fails
  NFSv4.x: Fix a refcount leak in nfs_callback_up_net

 fs/nfs/blocklayout/blocklayout.c  |  2 +-
 fs/nfs/blocklayout/blocklayout.h  |  3 +-
 fs/nfs/blocklayout/extent_tree.c  | 10 ++--
 fs/nfs/callback.c |  1 +
 fs/nfs/callback_proc.c|  8 +--
 fs/nfs/client.c   | 10 ++--
 fs/nfs/flexfilelayout/flexfilelayout.c| 45 
 fs/nfs/flexfilelayout/flexfilelayout.h|  2 +-
 fs/nfs/flexfilelayout/flexfilelayoutdev.c | 23 
 fs/nfs/internal.h |  5 +-
 fs/nfs/nfs42proc.c| 34 ++--
 fs/nfs/nfs4client.c   |  5 ++
 fs/nfs/nfs4proc.c | 89 +--
 fs/nfs/nfs4session.c  | 53 ++
 fs/nfs/nfs4session.h  |  7 ++-
 fs/nfs/pnfs.c |  2 +-
 fs/nfs/super.c| 19 ++-
 net/sunrpc/clnt.c |  4 +-
 18 files changed, 244 insertions(+), 78 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes for Linux 4.8

2016-08-30 Thread Trond Myklebust
Hi Linus,

The following changes since commit 694d0d0bb2030d2e36df73e2d23d5770511dbc8d:

  Linux 4.8-rc2 (2016-08-14 19:11:36 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.8-3

for you to fetch changes up to 98b0f80c2396224bbbed81792b526e6c72ba9efa:

  NFSv4.x: Fix a refcount leak in nfs_callback_up_net (2016-08-30 09:26:57 
-0400)

Cheers,
  Trond


NFS client bugfixes for 4.8

Highlights include:

Stable patches:
- Fix a refcount leak in nfs_callback_up_net
- Fix an Oopsable condition when the flexfile pNFS driver connection to
  the DS fails
- Fix an Oopsable condition in NFSv4.1 server callback races
- Ensure pNFS clients stop doing I/O to the DS if their lease has expired,
  as required by the NFSv4.1 protocol

Bugfixes:
- Fix potential looping in the NFSv4.x migration code
- Patch series to close callback races for OPEN, LAYOUTGET and LAYOUTRETURN
- Silence WARN_ON when NFSv4.1 over RDMA is in use
- Fix a LAYOUTCOMMIT race in the pNFS/blocks client
- Fix pNFS timeout issues when the DS fails


Benjamin Coddington (2):
  pnfs/blocklayout: update last_write_offset atomically with extents
  NFS4: Avoid migration loops

Chuck Lever (1):
  SUNRPC: Silence WARN_ON when NFSv4.1 over RDMA is in use

Trond Myklebust (12):
  pNFS/flexfiles: Fix layoutstat periodic reporting
  NFS: Allow the mount option retrans=0
  pNFS/flexfiles: Set reasonable default retrans values for the data channel
  pNFS: Handle NFS4ERR_OLD_STATEID correctly in LAYOUTSTAT calls
  pNFS: The client must not do I/O to the DS if it's lease has expired
  NFSv4.1: Fix Oopsable condition in server callback races
  NFSv4.1: Delay callback processing when there are referring triples
  NFSv4.1: Defer bumping the slot sequence number until we free the slot
  NFSv4.1: Close callback races for OPEN, LAYOUTGET and LAYOUTRETURN
  NFSv4.1: Remove obsolete and incorrrect assignment in 
nfs4_callback_sequence
  pNFS/flexfiles: Fix an Oopsable condition when connection to the DS fails
  NFSv4.x: Fix a refcount leak in nfs_callback_up_net

 fs/nfs/blocklayout/blocklayout.c  |  2 +-
 fs/nfs/blocklayout/blocklayout.h  |  3 +-
 fs/nfs/blocklayout/extent_tree.c  | 10 ++--
 fs/nfs/callback.c |  1 +
 fs/nfs/callback_proc.c|  8 +--
 fs/nfs/client.c   | 10 ++--
 fs/nfs/flexfilelayout/flexfilelayout.c| 45 
 fs/nfs/flexfilelayout/flexfilelayout.h|  2 +-
 fs/nfs/flexfilelayout/flexfilelayoutdev.c | 23 
 fs/nfs/internal.h |  5 +-
 fs/nfs/nfs42proc.c| 34 ++--
 fs/nfs/nfs4client.c   |  5 ++
 fs/nfs/nfs4proc.c | 89 +--
 fs/nfs/nfs4session.c  | 53 ++
 fs/nfs/nfs4session.h  |  7 ++-
 fs/nfs/pnfs.c |  2 +-
 fs/nfs/super.c| 19 ++-
 net/sunrpc/clnt.c |  4 +-
 18 files changed, 244 insertions(+), 78 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes for Linux 4.8

2016-08-12 Thread Trond Myklebust
Hi Linus,

The following changes since commit 944171cbf499d3445c749f7c13c46de0a564a905:

  pNFS: Actively set attributes as invalid if LAYOUTCOMMIT is outstanding 
(2016-07-28 14:49:08 -0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.8-2

for you to fetch changes up to 8d480326c3d6921ff5f1cc988c993bd572248deb:

  NFSv4: Cap the transport reconnection timer at 1/2 lease period (2016-08-05 
19:22:22 -0400)


NFS client bugfixes for Linux 4.8

Highlights include:

- Stable patch from Olga to fix RPCSEC_GSS upcalls when the same user needs
  multiple different security services (e.g. krb5i and krb5p).
- Stable patch to fix a regression introduced by the use of SO_REUSEPORT,
  and that prevented the use of multiple different NFS versions to the
  same server.
- TCP socket reconnection timer fixes.
- Patch from Neil to disable the use of IPv6 temporary addresses.

Cheers
  Trond


NeilBrown (1):
  SUNRPC: disable the use of IPv6 temporary addresses.

Olga Kornievskaia (1):
  SUNRPC: allow for upcalls for same uid but different gss service

Trond Myklebust (7):
  SUNRPC: Handle EADDRNOTAVAIL on connection failures
  SUNRPC: Fix up socket autodisconnect
  NFSv4.2: LAYOUTSTATS may return NFS4ERR_ADMIN/DELEG_REVOKED
  SUNRPC: Fix reconnection timeouts
  SUNRPC: Limit the reconnect backoff timer to the max RPC message timeout
  NFSv4: Cleanup the setting of the nfs4 lease period
  NFSv4: Cap the transport reconnection timer at 1/2 lease period

 fs/nfs/nfs42proc.c |  2 ++
 fs/nfs/nfs4_fs.h   |  4 +++
 fs/nfs/nfs4proc.c  |  9 +++
 fs/nfs/nfs4renewd.c| 20 ++
 fs/nfs/nfs4state.c |  9 +++
 include/linux/sunrpc/clnt.h|  2 ++
 include/linux/sunrpc/xprt.h|  3 ++-
 net/sunrpc/auth_gss/auth_gss.c |  8 +++---
 net/sunrpc/clnt.c  | 24 +
 net/sunrpc/xprt.c  | 26 --
 net/sunrpc/xprtsock.c  | 60 +-
 11 files changed, 130 insertions(+), 37 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes for Linux 4.8

2016-08-12 Thread Trond Myklebust
Hi Linus,

The following changes since commit 944171cbf499d3445c749f7c13c46de0a564a905:

  pNFS: Actively set attributes as invalid if LAYOUTCOMMIT is outstanding 
(2016-07-28 14:49:08 -0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.8-2

for you to fetch changes up to 8d480326c3d6921ff5f1cc988c993bd572248deb:

  NFSv4: Cap the transport reconnection timer at 1/2 lease period (2016-08-05 
19:22:22 -0400)


NFS client bugfixes for Linux 4.8

Highlights include:

- Stable patch from Olga to fix RPCSEC_GSS upcalls when the same user needs
  multiple different security services (e.g. krb5i and krb5p).
- Stable patch to fix a regression introduced by the use of SO_REUSEPORT,
  and that prevented the use of multiple different NFS versions to the
  same server.
- TCP socket reconnection timer fixes.
- Patch from Neil to disable the use of IPv6 temporary addresses.

Cheers
  Trond


NeilBrown (1):
  SUNRPC: disable the use of IPv6 temporary addresses.

Olga Kornievskaia (1):
  SUNRPC: allow for upcalls for same uid but different gss service

Trond Myklebust (7):
  SUNRPC: Handle EADDRNOTAVAIL on connection failures
  SUNRPC: Fix up socket autodisconnect
  NFSv4.2: LAYOUTSTATS may return NFS4ERR_ADMIN/DELEG_REVOKED
  SUNRPC: Fix reconnection timeouts
  SUNRPC: Limit the reconnect backoff timer to the max RPC message timeout
  NFSv4: Cleanup the setting of the nfs4 lease period
  NFSv4: Cap the transport reconnection timer at 1/2 lease period

 fs/nfs/nfs42proc.c |  2 ++
 fs/nfs/nfs4_fs.h   |  4 +++
 fs/nfs/nfs4proc.c  |  9 +++
 fs/nfs/nfs4renewd.c| 20 ++
 fs/nfs/nfs4state.c |  9 +++
 include/linux/sunrpc/clnt.h|  2 ++
 include/linux/sunrpc/xprt.h|  3 ++-
 net/sunrpc/auth_gss/auth_gss.c |  8 +++---
 net/sunrpc/clnt.c  | 24 +
 net/sunrpc/xprt.c  | 26 --
 net/sunrpc/xprtsock.c  | 60 +-
 11 files changed, 130 insertions(+), 37 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


[GIT PULL] Please pull NFS client bugfixes for 4.7

2016-06-29 Thread Anna Schumaker
Hi Linus,

The following changes since commit 33688abb2802ff3a230bd2441f765477b94cc89e:

  Linux 4.7-rc4 (2016-06-19 21:30:02 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.7-2

for you to fetch changes up to e547f2628327fec6afd2e03b46f113f614cca05b:

  NFS: Fix another OPEN_DOWNGRADE bug (2016-06-28 16:55:34 -0400)

Thanks,
Anna


Al Viro (1):
  make nfs_atomic_open() call d_drop() on all ->open_context() errors.

Oleg Drokin (1):
  nfs4: Fix potential use after free of state in nfs4_do_reclaim.

Trond Myklebust (11):
  NFSv4.1/pnfs: Ensure we handle delegation errors in nfs4_proc_layoutget()
  NFSv4.1/pnfs: Layout stateids start out as being invalid
  NFSv4.1/pnfs: Add sparse lock annotations for pnfs_find_alloc_layout
  NFS/pnfs: handle bad delegation stateids in 
nfs4_layoutget_handle_exception
  NFS: Fix up O_DIRECT results
  NFS: Fix a double page unlock
  NFSv4.1/pnfs: Mark the layout stateid invalid when all segments are 
removed
  NFS: Don't let readdirplus revalidate an inode that was marked as stale
  NFS: Fix potential race in nfs_fhget()
  NFS: Fix an unused variable warning
  NFS: Fix another OPEN_DOWNGRADE bug

Weston Andros Adamson (1):
  pnfs_nfs: fix _cancel_empty_pagelist

 fs/nfs/dir.c   | 11 +++
 fs/nfs/direct.c| 10 +++---
 fs/nfs/inode.c |  1 +
 fs/nfs/nfs4proc.c  | 18 ++
 fs/nfs/nfs4state.c |  2 +-
 fs/nfs/pnfs.c  | 10 +++---
 fs/nfs/pnfs_nfs.c  | 12 ++--
 fs/nfs/read.c  |  4 ++--
 8 files changed, 45 insertions(+), 23 deletions(-)


[GIT PULL] Please pull NFS client bugfixes for 4.7

2016-06-29 Thread Anna Schumaker
Hi Linus,

The following changes since commit 33688abb2802ff3a230bd2441f765477b94cc89e:

  Linux 4.7-rc4 (2016-06-19 21:30:02 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.7-2

for you to fetch changes up to e547f2628327fec6afd2e03b46f113f614cca05b:

  NFS: Fix another OPEN_DOWNGRADE bug (2016-06-28 16:55:34 -0400)

Thanks,
Anna


Al Viro (1):
  make nfs_atomic_open() call d_drop() on all ->open_context() errors.

Oleg Drokin (1):
  nfs4: Fix potential use after free of state in nfs4_do_reclaim.

Trond Myklebust (11):
  NFSv4.1/pnfs: Ensure we handle delegation errors in nfs4_proc_layoutget()
  NFSv4.1/pnfs: Layout stateids start out as being invalid
  NFSv4.1/pnfs: Add sparse lock annotations for pnfs_find_alloc_layout
  NFS/pnfs: handle bad delegation stateids in 
nfs4_layoutget_handle_exception
  NFS: Fix up O_DIRECT results
  NFS: Fix a double page unlock
  NFSv4.1/pnfs: Mark the layout stateid invalid when all segments are 
removed
  NFS: Don't let readdirplus revalidate an inode that was marked as stale
  NFS: Fix potential race in nfs_fhget()
  NFS: Fix an unused variable warning
  NFS: Fix another OPEN_DOWNGRADE bug

Weston Andros Adamson (1):
  pnfs_nfs: fix _cancel_empty_pagelist

 fs/nfs/dir.c   | 11 +++
 fs/nfs/direct.c| 10 +++---
 fs/nfs/inode.c |  1 +
 fs/nfs/nfs4proc.c  | 18 ++
 fs/nfs/nfs4state.c |  2 +-
 fs/nfs/pnfs.c  | 10 +++---
 fs/nfs/pnfs_nfs.c  | 12 ++--
 fs/nfs/read.c  |  4 ++--
 8 files changed, 45 insertions(+), 23 deletions(-)


[GIT PULL] Please pull NFS client bugfixes

2015-10-06 Thread Trond Myklebust
Hi Linus,

The following changes since commit 5634347dee31373a8faf084f4cdbf6d5ea0b03a4:

  Merge tag 'arm64-fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2015-10-02 14:54:16 
-0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.3-3

for you to fetch changes up to 39d0d3bdf7bab3021a31e501172ac0f18947f9b3:

  NFS: Fix a tracepoint NULL-pointer dereference (2015-10-06 18:56:25 -0400)

Cheers
  Trond


NFS client bugfixes for Linux 4.3

Highlights include:

Bugfixes:
- Fix a use-after-free bug in the RPC/RDMA client
- Fix a write performance regression
- Fix up page writeback accounting
- Don't try to reclaim unused state owners
- Fix a NFSv4 nograce recovery hang
- reset states to use open_stateid when returning delegation voluntarily
- Fix a tracepoint NULL-pointer dereference


Anna Schumaker (1):
  NFS: Fix a tracepoint NULL-pointer dereference

Benjamin Coddington (1):
  NFSv4: Fix a nograce recovery hang

Jeff Layton (1):
  nfs4: reset states to use open_stateid when returning delegation 
voluntarily

Steve Wise (1):
  xprtrdma: disconnect and flush cqs before freeing buffers

Trond Myklebust (5):
  NFS: Fix up page writeback accounting
  NFS: Fix a write performance regression
  NFSv4: Don't try to reclaim unused state owners
  NFSv4.1: nfs4_opendata_check_deleg needs to handle 
NFS4_OPEN_CLAIM_DELEG_CUR_FH
  Merge tag 'nfs-rdma-for-4.3-2' of 
git://git.linux-nfs.org/projects/anna/nfs-rdma

 fs/nfs/nfs4proc.c   | 15 +--
 fs/nfs/nfs4state.c  |  3 ++-
 fs/nfs/nfs4trace.h  |  2 +-
 fs/nfs/write.c  | 14 +++---
 net/sunrpc/xprtrdma/transport.c |  2 +-
 net/sunrpc/xprtrdma/verbs.c |  9 ++---
 6 files changed, 30 insertions(+), 15 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-10-06 Thread Trond Myklebust
Hi Linus,

The following changes since commit 5634347dee31373a8faf084f4cdbf6d5ea0b03a4:

  Merge tag 'arm64-fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2015-10-02 14:54:16 
-0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.3-3

for you to fetch changes up to 39d0d3bdf7bab3021a31e501172ac0f18947f9b3:

  NFS: Fix a tracepoint NULL-pointer dereference (2015-10-06 18:56:25 -0400)

Cheers
  Trond


NFS client bugfixes for Linux 4.3

Highlights include:

Bugfixes:
- Fix a use-after-free bug in the RPC/RDMA client
- Fix a write performance regression
- Fix up page writeback accounting
- Don't try to reclaim unused state owners
- Fix a NFSv4 nograce recovery hang
- reset states to use open_stateid when returning delegation voluntarily
- Fix a tracepoint NULL-pointer dereference


Anna Schumaker (1):
  NFS: Fix a tracepoint NULL-pointer dereference

Benjamin Coddington (1):
  NFSv4: Fix a nograce recovery hang

Jeff Layton (1):
  nfs4: reset states to use open_stateid when returning delegation 
voluntarily

Steve Wise (1):
  xprtrdma: disconnect and flush cqs before freeing buffers

Trond Myklebust (5):
  NFS: Fix up page writeback accounting
  NFS: Fix a write performance regression
  NFSv4: Don't try to reclaim unused state owners
  NFSv4.1: nfs4_opendata_check_deleg needs to handle 
NFS4_OPEN_CLAIM_DELEG_CUR_FH
  Merge tag 'nfs-rdma-for-4.3-2' of 
git://git.linux-nfs.org/projects/anna/nfs-rdma

 fs/nfs/nfs4proc.c   | 15 +--
 fs/nfs/nfs4state.c  |  3 ++-
 fs/nfs/nfs4trace.h  |  2 +-
 fs/nfs/write.c  | 14 +++---
 net/sunrpc/xprtrdma/transport.c |  2 +-
 net/sunrpc/xprtrdma/verbs.c |  9 ++---
 6 files changed, 30 insertions(+), 15 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-09-25 Thread Trond Myklebust
Hi Linus,

The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.3-2

for you to fetch changes up to 500d701f336b2771d34e46da7875a4782515a652:

  NFS41: make close wait for layoutreturn (2015-09-23 08:55:32 -0400)

Cheers
  Trond


NFS client bugfixes for Linux 4.3

Highlights include:

Stable patches:
- fix v4.2 SEEK on files over 2 gigs
- Fix a layout segment reference leak when pNFS I/O falls back to inband I/O.
- Fix recovery of recalled read delegations

Bugfixes:
- Fix a case where NFSv4 fails to send CLOSE after a server reboot
- Fix sunrpc to wait for connections to complete before retrying
- Fix sunrpc races between transport connect/disconnect and shutdown
- Fix an infinite loop when layoutget fail with BAD_STATEID
- nfs/filelayout: Fix NULL reference caused by double freeing of fh_array
- Fix a bogus WARN_ON_ONCE() in O_DIRECT when layout commit_through_mds is set
- Fix layoutreturn/close ordering issues.


J. Bruce Fields (1):
  nfs: fix v4.2 SEEK on files over 2 gigs

Julia Lawall (1):
  SUNRPC: drop null test before destroy functions

Kinglong Mee (4):
  nfs/filelayout: Fix NULL reference caused by double freeing of fh_array
  NFS: Do cleanup before resetting pageio read/write to mds
  NFS: Fix an infinite loop when layoutget fail with BAD_STATEID
  NFS: Skip checking ds_cinfo.buckets when lseg's commit_through_mds is set

Olga Kornievskaia (1):
  Failing to send a CLOSE if file is opened WRONLY and server reboots on a 
4.x mount

Peng Tao (2):
  nfs: fix pg_test page count calculation
  NFS41: make close wait for layoutreturn

Trond Myklebust (6):
  SUNRPC: Fix races between socket connection and destroy code
  SUNRPC: Ensure that we wait for connections to complete before retrying
  SUNRPC: Lock the transport layer on shutdown
  SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose
  NFSv4: Recovery of recalled read delegations is broken
  NFSv4.x/pnfs: Don't try to recover stateids twice in layoutget

 fs/nfs/delegation.c |   8 ++-
 fs/nfs/delegation.h |   2 +-
 fs/nfs/direct.c |   7 ++-
 fs/nfs/filelayout/filelayout.c  |  31 --
 fs/nfs/nfs42proc.c  |   4 +-
 fs/nfs/nfs4proc.c   | 127 ++--
 fs/nfs/nfs4state.c  |   2 +-
 fs/nfs/pagelist.c   |   2 +-
 fs/nfs/pnfs.c   |  35 +++
 fs/nfs/pnfs.h   |   7 +++
 fs/nfs/read.c   |   3 +
 fs/nfs/write.c  |   3 +
 include/linux/sunrpc/xprtsock.h |   3 +
 net/sunrpc/sched.c  |  12 ++--
 net/sunrpc/xprt.c   |   6 ++
 net/sunrpc/xprtsock.c   |  15 +++--
 16 files changed, 172 insertions(+), 95 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-09-25 Thread Trond Myklebust
Hi Linus,

The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.3-2

for you to fetch changes up to 500d701f336b2771d34e46da7875a4782515a652:

  NFS41: make close wait for layoutreturn (2015-09-23 08:55:32 -0400)

Cheers
  Trond


NFS client bugfixes for Linux 4.3

Highlights include:

Stable patches:
- fix v4.2 SEEK on files over 2 gigs
- Fix a layout segment reference leak when pNFS I/O falls back to inband I/O.
- Fix recovery of recalled read delegations

Bugfixes:
- Fix a case where NFSv4 fails to send CLOSE after a server reboot
- Fix sunrpc to wait for connections to complete before retrying
- Fix sunrpc races between transport connect/disconnect and shutdown
- Fix an infinite loop when layoutget fail with BAD_STATEID
- nfs/filelayout: Fix NULL reference caused by double freeing of fh_array
- Fix a bogus WARN_ON_ONCE() in O_DIRECT when layout commit_through_mds is set
- Fix layoutreturn/close ordering issues.


J. Bruce Fields (1):
  nfs: fix v4.2 SEEK on files over 2 gigs

Julia Lawall (1):
  SUNRPC: drop null test before destroy functions

Kinglong Mee (4):
  nfs/filelayout: Fix NULL reference caused by double freeing of fh_array
  NFS: Do cleanup before resetting pageio read/write to mds
  NFS: Fix an infinite loop when layoutget fail with BAD_STATEID
  NFS: Skip checking ds_cinfo.buckets when lseg's commit_through_mds is set

Olga Kornievskaia (1):
  Failing to send a CLOSE if file is opened WRONLY and server reboots on a 
4.x mount

Peng Tao (2):
  nfs: fix pg_test page count calculation
  NFS41: make close wait for layoutreturn

Trond Myklebust (6):
  SUNRPC: Fix races between socket connection and destroy code
  SUNRPC: Ensure that we wait for connections to complete before retrying
  SUNRPC: Lock the transport layer on shutdown
  SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose
  NFSv4: Recovery of recalled read delegations is broken
  NFSv4.x/pnfs: Don't try to recover stateids twice in layoutget

 fs/nfs/delegation.c |   8 ++-
 fs/nfs/delegation.h |   2 +-
 fs/nfs/direct.c |   7 ++-
 fs/nfs/filelayout/filelayout.c  |  31 --
 fs/nfs/nfs42proc.c  |   4 +-
 fs/nfs/nfs4proc.c   | 127 ++--
 fs/nfs/nfs4state.c  |   2 +-
 fs/nfs/pagelist.c   |   2 +-
 fs/nfs/pnfs.c   |  35 +++
 fs/nfs/pnfs.h   |   7 +++
 fs/nfs/read.c   |   3 +
 fs/nfs/write.c  |   3 +
 include/linux/sunrpc/xprtsock.h |   3 +
 net/sunrpc/sched.c  |  12 ++--
 net/sunrpc/xprt.c   |   6 ++
 net/sunrpc/xprtsock.c   |  15 +++--
 16 files changed, 172 insertions(+), 95 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-07-28 Thread Trond Myklebust
Hi Linus,

The following changes since commit b4839ebe21fc5d543b933d83644981ea73e9ba36:

  nfs: Remove invalid tk_pid from debug message (2015-07-01 11:31:25 -0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.2-2

for you to fetch changes up to a49c269111a5b3c1fd2a98f36fa27423b94549f8:

  nfs: Fix an oops caused by using other thread's stack space in ASYNC mode 
(2015-07-28 09:07:03 -0400)


NFS client bugfixes for Linux 4.2

Highlights include:

Stable patches:
- Fix a situation where the client uses the wrong (zero) stateid.
- Fix a memory leak in nfs_do_recoalesce

Bugfixes:
- Plug a memory leak when ->prepare_layoutcommit fails
- Fix an Oops in the NFSv4 open code
- Fix a backchannel deadlock
- Fix a livelock in sunrpc when sendmsg fails due to low memory availability
- Don't revalidate the mapping if both size and change attr are up to date
- Ensure we don't miss a file extension when doing pNFS
- Several fixes to handle NFSv4.1 sequence operation status bits correctly
- Several pNFS layout return bugfixes


J. Bruce Fields (1):
  NFSv4.2: handle NFS-specific llseek errors

Jeff Layton (1):
  nfs: plug memory leak when ->prepare_layoutcommit fails

Kinglong Mee (1):
  nfs: Fix an oops caused by using other thread's stack space in ASYNC mode

NeilBrown (1):
  sunrpc: translate -EAGAIN to -ENOBUFS when socket is writable.

Trond Myklebust (24):
  SUNRPC: Don't reencode message if transmission failed with ENOBUFS
  SUNRPC: Don't confuse ENOBUFS with a write_space issue
  NFSv4.1: Handle SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED status bit 
correctly.
  NFSv4.1: Handle SEQ4_STATUS_RECALLABLE_STATE_REVOKED status bit correctly
  NFSv4.1: Handle SEQ4_STATUS_BACKCHANNEL_FAULT correctly
  NFSv4.1: nfs41_sequence_done should handle sequence flag errors
  NFSv4: Leases are renewed in sequence_done when we have sessions
  NFSv4.2/flexfiles: Fix a typo in the flexfiles layoutstats code
  pNFS: Layoutreturn must invalidate all existing layout segments.
  pNFS: pnfs_roc_drain should return 'true' when sleeping
  pNFS: Fix races between return-on-close and layoutreturn.
  pNFS: pnfs_roc_drain() fix a race with open
  pNFS: Don't throw out valid layout segments
  SUNRPC: Fix a backchannel deadlock
  SUNRPC: xprt_complete_bc_request must also decrement the free slot count
  NFSv4: We must set NFS_OPEN_STATE flag in nfs_resync_open_stateid_locked
  NFSv4/pnfs: Ensure we don't miss a file extension
  NFS: Don't revalidate the mapping if both size and change attr are up to 
date
  NFS: Set NFS_INO_REVAL_PAGECACHE if the change attribute is uninitialised
  NFS: Remove the "NFS_CAP_CHANGE_ATTR" capability
  NFS: nfs_mark_for_revalidate should always set NFS_INO_REVAL_PAGECACHE
  NFS: Fix a memory leak in nfs_do_recoalesce
  NFS: Don't clear desc->pg_moreio in nfs_do_recoalesce()
  SUNRPC: Report TCP errors to the caller

 fs/nfs/client.c|   2 +-
 fs/nfs/flexfilelayout/flexfilelayout.c |   2 +-
 fs/nfs/inode.c |  15 ++---
 fs/nfs/internal.h  |  21 +++
 fs/nfs/nfs42proc.c |  19 ++-
 fs/nfs/nfs4proc.c  |  36 +++-
 fs/nfs/nfs4state.c |  29 +++---
 fs/nfs/pagelist.c  |   7 ++-
 fs/nfs/pnfs.c  | 101 +++--
 fs/nfs/write.c |  15 +++--
 include/linux/nfs_fs.h |   7 ++-
 include/linux/nfs_fs_sb.h  |   2 +-
 net/sunrpc/backchannel_rqst.c  |   6 +-
 net/sunrpc/clnt.c  |   5 +-
 net/sunrpc/xprtsock.c  |  25 +---
 15 files changed, 189 insertions(+), 103 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-07-28 Thread Trond Myklebust
Hi Linus,

The following changes since commit b4839ebe21fc5d543b933d83644981ea73e9ba36:

  nfs: Remove invalid tk_pid from debug message (2015-07-01 11:31:25 -0400)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.2-2

for you to fetch changes up to a49c269111a5b3c1fd2a98f36fa27423b94549f8:

  nfs: Fix an oops caused by using other thread's stack space in ASYNC mode 
(2015-07-28 09:07:03 -0400)


NFS client bugfixes for Linux 4.2

Highlights include:

Stable patches:
- Fix a situation where the client uses the wrong (zero) stateid.
- Fix a memory leak in nfs_do_recoalesce

Bugfixes:
- Plug a memory leak when -prepare_layoutcommit fails
- Fix an Oops in the NFSv4 open code
- Fix a backchannel deadlock
- Fix a livelock in sunrpc when sendmsg fails due to low memory availability
- Don't revalidate the mapping if both size and change attr are up to date
- Ensure we don't miss a file extension when doing pNFS
- Several fixes to handle NFSv4.1 sequence operation status bits correctly
- Several pNFS layout return bugfixes


J. Bruce Fields (1):
  NFSv4.2: handle NFS-specific llseek errors

Jeff Layton (1):
  nfs: plug memory leak when -prepare_layoutcommit fails

Kinglong Mee (1):
  nfs: Fix an oops caused by using other thread's stack space in ASYNC mode

NeilBrown (1):
  sunrpc: translate -EAGAIN to -ENOBUFS when socket is writable.

Trond Myklebust (24):
  SUNRPC: Don't reencode message if transmission failed with ENOBUFS
  SUNRPC: Don't confuse ENOBUFS with a write_space issue
  NFSv4.1: Handle SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED status bit 
correctly.
  NFSv4.1: Handle SEQ4_STATUS_RECALLABLE_STATE_REVOKED status bit correctly
  NFSv4.1: Handle SEQ4_STATUS_BACKCHANNEL_FAULT correctly
  NFSv4.1: nfs41_sequence_done should handle sequence flag errors
  NFSv4: Leases are renewed in sequence_done when we have sessions
  NFSv4.2/flexfiles: Fix a typo in the flexfiles layoutstats code
  pNFS: Layoutreturn must invalidate all existing layout segments.
  pNFS: pnfs_roc_drain should return 'true' when sleeping
  pNFS: Fix races between return-on-close and layoutreturn.
  pNFS: pnfs_roc_drain() fix a race with open
  pNFS: Don't throw out valid layout segments
  SUNRPC: Fix a backchannel deadlock
  SUNRPC: xprt_complete_bc_request must also decrement the free slot count
  NFSv4: We must set NFS_OPEN_STATE flag in nfs_resync_open_stateid_locked
  NFSv4/pnfs: Ensure we don't miss a file extension
  NFS: Don't revalidate the mapping if both size and change attr are up to 
date
  NFS: Set NFS_INO_REVAL_PAGECACHE if the change attribute is uninitialised
  NFS: Remove the NFS_CAP_CHANGE_ATTR capability
  NFS: nfs_mark_for_revalidate should always set NFS_INO_REVAL_PAGECACHE
  NFS: Fix a memory leak in nfs_do_recoalesce
  NFS: Don't clear desc-pg_moreio in nfs_do_recoalesce()
  SUNRPC: Report TCP errors to the caller

 fs/nfs/client.c|   2 +-
 fs/nfs/flexfilelayout/flexfilelayout.c |   2 +-
 fs/nfs/inode.c |  15 ++---
 fs/nfs/internal.h  |  21 +++
 fs/nfs/nfs42proc.c |  19 ++-
 fs/nfs/nfs4proc.c  |  36 +++-
 fs/nfs/nfs4state.c |  29 +++---
 fs/nfs/pagelist.c  |   7 ++-
 fs/nfs/pnfs.c  | 101 +++--
 fs/nfs/write.c |  15 +++--
 include/linux/nfs_fs.h |   7 ++-
 include/linux/nfs_fs_sb.h  |   2 +-
 net/sunrpc/backchannel_rqst.c  |   6 +-
 net/sunrpc/clnt.c  |   5 +-
 net/sunrpc/xprtsock.c  |  25 +---
 15 files changed, 189 insertions(+), 103 deletions(-)
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-03-05 Thread Trond Myklebust
Hi Linus,

The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:

  Linux 4.0-rc1 (2015-02-22 18:21:14 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.0-3

for you to fetch changes up to e11259f920d8cb3550e0f311c064bdabe1bc3aaf:

  NFSv4.1: Clear the old state by our client id before establishing a new lease 
(2015-03-03 21:52:30 -0500)


NFS client bugfixes for Linux 4.0

Highlights include:

- Fix a regression in the NFSv4 open state recovery code
- Fix a regression in the NFSv4 close code
- Fix regressions and side-effects of the loop-back mounted NFS fixes
  in 3.18, that cause the NFS read() syscall to return EBUSY.
- Fix regressions around the readdirplus code and how it interacts with
  the VFS lazy unmount changes that went into v3.18.
- Fix issues with out-of-order RPC call replies replacing updated
  attributes with stale ones (particularly after a truncate()).
- Fix an underflow checking issue with RPC/RDMA credits
- Fix a number of issues with the NFSv4 delegation return/free code.
- Fix issues around stale NFSv4.1 leases when doing a mount


Anna Schumaker (1):
  NFS: Fix stateid used for NFS v4 closes

Chuck Lever (1):
  xprtrdma: Store RDMA credits in unsigned variables

Trond Myklebust (23):
  Merge tag 'nfs-rdma-for-4.0-3' of 
git://git.linux-nfs.org/projects/anna/nfs-rdma
  NFSv4: nfs4_open_recover_helper() must set share access
  NFS: Ensure that buffered writes wait for O_DIRECT writes to complete
  NFS: Add a helper to set attribute barriers
  NFS: Add attribute update barriers to nfs_setattr_update_inode()
  NFS: Set an attribute barrier on all updates
  NFS: Add attribute update barriers to NFS writebacks
  NFSv4: Add attribute update barriers to delegreturn and pNFS layoutcommit
  NFS: Remove size hack in nfs_inode_attrs_need_update()
  NFS: Fix nfs_post_op_update_inode() to set an attribute barrier
  NFSv4: Set a barrier in the update_changeattr() helper
  NFS: Don't invalidate a submounted dentry in nfs_prime_dcache()
  NFSv3: Use the readdir fileid as the mounted-on-fileid
  NFS: Don't require a filehandle to refresh the inode in nfs_prime_dcache()
  NFSv4: Don't call put_rpccred() under the rcu_read_lock()
  NFSv4: Ensure that we don't reap a delegation that is being returned
  NFSv4: Ensure we honour NFS_DELEGATION_RETURNING in 
nfs_inode_set_delegation()
  NFSv4: Pin the superblock while we're returning the delegation
  NFSv4: Ensure we skip delegations that are already being returned
  NFS: Fix a regression in the read() syscall
  NFS: Don't write enable new pages while an invalidation is proceeding
  NFSv4: Fix a race in NFSv4.1 server trunking discovery
  NFSv4.1: Clear the old state by our client id before establishing a new 
lease

 fs/nfs/client.c |   2 +-
 fs/nfs/delegation.c |  45 
 fs/nfs/dir.c|  22 ++--
 fs/nfs/file.c   |  11 +++-
 fs/nfs/inode.c  | 111 +---
 fs/nfs/internal.h   |   1 +
 fs/nfs/nfs3proc.c   |   4 +-
 fs/nfs/nfs3xdr.c|   5 ++
 fs/nfs/nfs4client.c |   9 ++--
 fs/nfs/nfs4proc.c   |  31 +++
 fs/nfs/nfs4session.h|   1 +
 fs/nfs/nfs4state.c  |  18 ++-
 fs/nfs/proc.c   |   6 +--
 fs/nfs/write.c  |  30 +++
 include/linux/nfs_fs.h  |   5 +-
 net/sunrpc/xprtrdma/rpc_rdma.c  |   3 +-
 net/sunrpc/xprtrdma/xprt_rdma.h |   2 +-
 17 files changed, 244 insertions(+), 62 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-03-05 Thread Trond Myklebust
Hi Linus,

The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:

  Linux 4.0-rc1 (2015-02-22 18:21:14 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.0-3

for you to fetch changes up to e11259f920d8cb3550e0f311c064bdabe1bc3aaf:

  NFSv4.1: Clear the old state by our client id before establishing a new lease 
(2015-03-03 21:52:30 -0500)


NFS client bugfixes for Linux 4.0

Highlights include:

- Fix a regression in the NFSv4 open state recovery code
- Fix a regression in the NFSv4 close code
- Fix regressions and side-effects of the loop-back mounted NFS fixes
  in 3.18, that cause the NFS read() syscall to return EBUSY.
- Fix regressions around the readdirplus code and how it interacts with
  the VFS lazy unmount changes that went into v3.18.
- Fix issues with out-of-order RPC call replies replacing updated
  attributes with stale ones (particularly after a truncate()).
- Fix an underflow checking issue with RPC/RDMA credits
- Fix a number of issues with the NFSv4 delegation return/free code.
- Fix issues around stale NFSv4.1 leases when doing a mount


Anna Schumaker (1):
  NFS: Fix stateid used for NFS v4 closes

Chuck Lever (1):
  xprtrdma: Store RDMA credits in unsigned variables

Trond Myklebust (23):
  Merge tag 'nfs-rdma-for-4.0-3' of 
git://git.linux-nfs.org/projects/anna/nfs-rdma
  NFSv4: nfs4_open_recover_helper() must set share access
  NFS: Ensure that buffered writes wait for O_DIRECT writes to complete
  NFS: Add a helper to set attribute barriers
  NFS: Add attribute update barriers to nfs_setattr_update_inode()
  NFS: Set an attribute barrier on all updates
  NFS: Add attribute update barriers to NFS writebacks
  NFSv4: Add attribute update barriers to delegreturn and pNFS layoutcommit
  NFS: Remove size hack in nfs_inode_attrs_need_update()
  NFS: Fix nfs_post_op_update_inode() to set an attribute barrier
  NFSv4: Set a barrier in the update_changeattr() helper
  NFS: Don't invalidate a submounted dentry in nfs_prime_dcache()
  NFSv3: Use the readdir fileid as the mounted-on-fileid
  NFS: Don't require a filehandle to refresh the inode in nfs_prime_dcache()
  NFSv4: Don't call put_rpccred() under the rcu_read_lock()
  NFSv4: Ensure that we don't reap a delegation that is being returned
  NFSv4: Ensure we honour NFS_DELEGATION_RETURNING in 
nfs_inode_set_delegation()
  NFSv4: Pin the superblock while we're returning the delegation
  NFSv4: Ensure we skip delegations that are already being returned
  NFS: Fix a regression in the read() syscall
  NFS: Don't write enable new pages while an invalidation is proceeding
  NFSv4: Fix a race in NFSv4.1 server trunking discovery
  NFSv4.1: Clear the old state by our client id before establishing a new 
lease

 fs/nfs/client.c |   2 +-
 fs/nfs/delegation.c |  45 
 fs/nfs/dir.c|  22 ++--
 fs/nfs/file.c   |  11 +++-
 fs/nfs/inode.c  | 111 +---
 fs/nfs/internal.h   |   1 +
 fs/nfs/nfs3proc.c   |   4 +-
 fs/nfs/nfs3xdr.c|   5 ++
 fs/nfs/nfs4client.c |   9 ++--
 fs/nfs/nfs4proc.c   |  31 +++
 fs/nfs/nfs4session.h|   1 +
 fs/nfs/nfs4state.c  |  18 ++-
 fs/nfs/proc.c   |   6 +--
 fs/nfs/write.c  |  30 +++
 include/linux/nfs_fs.h  |   5 +-
 net/sunrpc/xprtrdma/rpc_rdma.c  |   3 +-
 net/sunrpc/xprtrdma/xprt_rdma.h |   2 +-
 17 files changed, 244 insertions(+), 62 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com




--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-01-29 Thread Trond Myklebust
Hi Linus,

The following changes since commit ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc:

  Linux 3.19-rc5 (2015-01-18 18:02:20 +1200)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.19-3

for you to fetch changes up to 2ef47eb1aee171ecf1d83311b9f7fae80f330181:

  NFS: Fix use of nfs_attr_use_mounted_on_fileid() (2015-01-21 17:15:41 -0500)


NFS client bugfixes for Linux 3.19

Highlights include:
- Stable fix for a NFSv4.1 Oops on mount
- Stable fix for an O_DIRECT deadlock condition
- Fix an issue with submounted volumes and fake duplicate inode numbers


Anna Schumaker (1):
  NFS: Fix use of nfs_attr_use_mounted_on_fileid()

Peng Tao (1):
  nfs: fix dio deadlock when O_DIRECT flag is flipped

Trond Myklebust (1):
  NFSv4.1: Fix an Oops in nfs41_walk_client_list

 fs/nfs/direct.c | 6 ++
 fs/nfs/inode.c  | 5 +++--
 fs/nfs/internal.h   | 2 --
 fs/nfs/nfs4client.c | 2 +-
 4 files changed, 10 insertions(+), 5 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-01-29 Thread Trond Myklebust
Hi Linus,

The following changes since commit ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc:

  Linux 3.19-rc5 (2015-01-18 18:02:20 +1200)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.19-3

for you to fetch changes up to 2ef47eb1aee171ecf1d83311b9f7fae80f330181:

  NFS: Fix use of nfs_attr_use_mounted_on_fileid() (2015-01-21 17:15:41 -0500)


NFS client bugfixes for Linux 3.19

Highlights include:
- Stable fix for a NFSv4.1 Oops on mount
- Stable fix for an O_DIRECT deadlock condition
- Fix an issue with submounted volumes and fake duplicate inode numbers


Anna Schumaker (1):
  NFS: Fix use of nfs_attr_use_mounted_on_fileid()

Peng Tao (1):
  nfs: fix dio deadlock when O_DIRECT flag is flipped

Trond Myklebust (1):
  NFSv4.1: Fix an Oops in nfs41_walk_client_list

 fs/nfs/direct.c | 6 ++
 fs/nfs/inode.c  | 5 +++--
 fs/nfs/internal.h   | 2 --
 fs/nfs/nfs4client.c | 2 +-
 4 files changed, 10 insertions(+), 5 deletions(-)


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-01-16 Thread Trond Myklebust
Hi Linus,

The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0:

  Linux 3.19-rc3 (2015-01-05 17:05:20 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.19-2

for you to fetch changes up to 4e379d36c050b0117b5d10048be63a44f5036115:

  NFSv4: Remove incorrect check in can_open_delegated() (2015-01-05 19:40:54 
-0800)


NFS client bugfixes for Linux 3.19

Highlights include:

- Stable fix for a NFSv3/lockd race
- Fixes for several NFSv4.1 client id trunking bugs
- Remove an incorrect test when checking for delegated opens


Chuck Lever (1):
  NFS: Ignore transport protocol when detecting server trunking

Trond Myklebust (5):
  LOCKD: Fix a race when initialising nlmsvc_timeout
  NFSv4.1: Fix client id trunking on Linux
  NFSv4: Cache the NFSv4/v4.1 client owner_id in the struct nfs_client
  NFSv4/v4.1: Verify the client owner id during trunking detection
  NFSv4: Remove incorrect check in can_open_delegated()

 fs/lockd/svc.c|  8 
 fs/nfs/nfs4client.c   | 42 +++---
 fs/nfs/nfs4proc.c | 21 +++--
 include/linux/nfs_fs_sb.h |  3 +++
 4 files changed, 49 insertions(+), 25 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2015-01-16 Thread Trond Myklebust
Hi Linus,

The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0:

  Linux 3.19-rc3 (2015-01-05 17:05:20 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.19-2

for you to fetch changes up to 4e379d36c050b0117b5d10048be63a44f5036115:

  NFSv4: Remove incorrect check in can_open_delegated() (2015-01-05 19:40:54 
-0800)


NFS client bugfixes for Linux 3.19

Highlights include:

- Stable fix for a NFSv3/lockd race
- Fixes for several NFSv4.1 client id trunking bugs
- Remove an incorrect test when checking for delegated opens


Chuck Lever (1):
  NFS: Ignore transport protocol when detecting server trunking

Trond Myklebust (5):
  LOCKD: Fix a race when initialising nlmsvc_timeout
  NFSv4.1: Fix client id trunking on Linux
  NFSv4: Cache the NFSv4/v4.1 client owner_id in the struct nfs_client
  NFSv4/v4.1: Verify the client owner id during trunking detection
  NFSv4: Remove incorrect check in can_open_delegated()

 fs/lockd/svc.c|  8 
 fs/nfs/nfs4client.c   | 42 +++---
 fs/nfs/nfs4proc.c | 21 +++--
 include/linux/nfs_fs_sb.h |  3 +++
 4 files changed, 49 insertions(+), 25 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com




--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2014-11-14 Thread Trond Myklebust
Hi Linus,

The following changes since commit 0df1f2487d2f0d04703f142813d53615d62a1da4:

  Linux 3.18-rc3 (2014-11-02 15:01:51 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.18-3

for you to fetch changes up to b3ecba096729f521312d1863ad22530695527aed:

  sunrpc: fix sleeping under rcu_read_lock in gss_stringify_acceptor 
(2014-11-13 13:15:49 -0500)


NFS client bugfixes for Linux 3.18

Highlights include:

- Stable patches to fix NFSv4.x delegation reclaim error paths
- Fix a bug whereby we were advertising NFSv4.1 but using NFSv4.2 features
- Fix a use-after-free problem with pNFS block layouts
- Fix a memory leak in the pNFS files O_DIRECT code
- Replace an intrusive and Oops-prone performance fix in the NFSv4 atomic
  open code with a safer one-line version and revert the two original patches.


Anna Schumaker (1):
  NFS: SEEK is an NFS v4.2 feature

Christoph Hellwig (1):
  pnfs/blocklayout: serialize GETDEVICEINFO calls

Jan Kara (2):
  nfs: Remove bogus assignment
  nfs: Fix use of uninitialized variable in nfs_getattr()

Jeff Layton (1):
  sunrpc: fix sleeping under rcu_read_lock in gss_stringify_acceptor

Peng Tao (1):
  nfs: fix pnfs direct write memory leak

Trond Myklebust (8):
  NFSv4: Ensure nfs_atomic_open set the dentry verifier on ENOENT
  Revert "NFS: remove BUG possibility in nfs4_open_and_get_state"
  Revert "NFS: nfs4_do_open should add negative results to the dcache."
  NFSv4: Ensure that we remove NFSv4.0 delegations when state has expired
  NFSv4.1: nfs41_clear_delegation_stateid shouldn't trust 
NFS_DELEGATED_STATE
  NFSv4: Fix races between nfs_remove_bad_delegation() and delegation return
  NFSv4: Ensure that we call FREE_STATEID when NFSv4.x stateids are revoked
  NFS: Don't try to reclaim delegation open state if recovery failed

Weston Andros Adamson (1):
  nfs: remove spurious WARN_ON_ONCE in write path

 fs/nfs/blocklayout/blocklayout.c |  2 +-
 fs/nfs/blocklayout/rpc_pipefs.c  | 14 +++---
 fs/nfs/delegation.c  | 25 ++-
 fs/nfs/delegation.h  |  1 +
 fs/nfs/dir.c |  1 +
 fs/nfs/direct.c  |  1 +
 fs/nfs/filelayout/filelayout.c   |  3 --
 fs/nfs/inode.c   |  2 +-
 fs/nfs/netns.h   |  1 +
 fs/nfs/nfs4proc.c| 95 +++-
 fs/nfs/write.c   |  2 -
 include/linux/nfs_xdr.h  | 11 +
 net/sunrpc/auth_gss/auth_gss.c   | 35 ---
 13 files changed, 124 insertions(+), 69 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2014-11-14 Thread Trond Myklebust
Hi Linus,

The following changes since commit 0df1f2487d2f0d04703f142813d53615d62a1da4:

  Linux 3.18-rc3 (2014-11-02 15:01:51 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.18-3

for you to fetch changes up to b3ecba096729f521312d1863ad22530695527aed:

  sunrpc: fix sleeping under rcu_read_lock in gss_stringify_acceptor 
(2014-11-13 13:15:49 -0500)


NFS client bugfixes for Linux 3.18

Highlights include:

- Stable patches to fix NFSv4.x delegation reclaim error paths
- Fix a bug whereby we were advertising NFSv4.1 but using NFSv4.2 features
- Fix a use-after-free problem with pNFS block layouts
- Fix a memory leak in the pNFS files O_DIRECT code
- Replace an intrusive and Oops-prone performance fix in the NFSv4 atomic
  open code with a safer one-line version and revert the two original patches.


Anna Schumaker (1):
  NFS: SEEK is an NFS v4.2 feature

Christoph Hellwig (1):
  pnfs/blocklayout: serialize GETDEVICEINFO calls

Jan Kara (2):
  nfs: Remove bogus assignment
  nfs: Fix use of uninitialized variable in nfs_getattr()

Jeff Layton (1):
  sunrpc: fix sleeping under rcu_read_lock in gss_stringify_acceptor

Peng Tao (1):
  nfs: fix pnfs direct write memory leak

Trond Myklebust (8):
  NFSv4: Ensure nfs_atomic_open set the dentry verifier on ENOENT
  Revert NFS: remove BUG possibility in nfs4_open_and_get_state
  Revert NFS: nfs4_do_open should add negative results to the dcache.
  NFSv4: Ensure that we remove NFSv4.0 delegations when state has expired
  NFSv4.1: nfs41_clear_delegation_stateid shouldn't trust 
NFS_DELEGATED_STATE
  NFSv4: Fix races between nfs_remove_bad_delegation() and delegation return
  NFSv4: Ensure that we call FREE_STATEID when NFSv4.x stateids are revoked
  NFS: Don't try to reclaim delegation open state if recovery failed

Weston Andros Adamson (1):
  nfs: remove spurious WARN_ON_ONCE in write path

 fs/nfs/blocklayout/blocklayout.c |  2 +-
 fs/nfs/blocklayout/rpc_pipefs.c  | 14 +++---
 fs/nfs/delegation.c  | 25 ++-
 fs/nfs/delegation.h  |  1 +
 fs/nfs/dir.c |  1 +
 fs/nfs/direct.c  |  1 +
 fs/nfs/filelayout/filelayout.c   |  3 --
 fs/nfs/inode.c   |  2 +-
 fs/nfs/netns.h   |  1 +
 fs/nfs/nfs4proc.c| 95 +++-
 fs/nfs/write.c   |  2 -
 include/linux/nfs_xdr.h  | 11 +
 net/sunrpc/auth_gss/auth_gss.c   | 35 ---
 13 files changed, 124 insertions(+), 69 deletions(-)


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes and SEEK_HOLE/SEEK_DATA feature

2014-10-16 Thread Trond Myklebust
Hi Linus,

The following changes since commit 72c23f0819977d37924af92a42a9b7fbfd1c95d8:

  Merge branch 'bugfixes' into linux-next (2014-09-30 17:21:41 -0400)

are available in the git repository at:


  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.18-2

for you to fetch changes up to b8fb9c30f25e45dab5d2cd310ab6913b6861d00f:

  NFS: Fix a bogus warning in nfs_generic_pgio (2014-10-13 11:04:02 -0400)

Note the tree does include a partial merge of Bruce's tree. That was
done in order to resolve an include file dependency issue for the SEEK
patch.

Cheers
  Trond


NFS client updates for Linux 3.18

Highlights include:

Stable fixes:
- Fix an uninitialised pointer Oops in the writeback error path
- Fix a bogus warning (and early exit from the loop) in nfs_generic_pgio

Features:
- Add NFSv4.2 SEEK feature and client support for lseek(SEEK_HOLE/SEEK_DATA)

Other fixes:
- pnfs: replace broken pnfs_put_lseg_async
- Remove dead prototype for nfs4_insert_deviceid_node


Anna Schumaker (1):
  NFS: Implement SEEK

Tom Haynes (1):
  NFSv4: Remove dead prototype for nfs4_insert_deviceid_node()

Trond Myklebust (5):
  Merge commit '24bab491220f' into client-4.2
  Merge branch 'client-4.2' into linux-next
  NFSv4.1/pnfs: replace broken pnfs_put_lseg_async
  NFS: Fix an uninitialised pointer Oops in the writeback error path
  NFS: Fix a bogus warning in nfs_generic_pgio

 fs/Kconfig   |   6 +-
 fs/lockd/Makefile|   3 +-
 fs/lockd/netns.h |   1 -
 fs/lockd/procfs.c|  92 +
 fs/lockd/procfs.h|  28 
 fs/lockd/svc.c   |  16 ++-
 fs/nfs/Makefile  |   1 +
 fs/nfs/callback.c|   4 +-
 fs/nfs/filelayout/filelayout.c   |   2 +-
 fs/nfs/inode.c   |   2 +
 fs/nfs/nfs42.h   |  14 ++
 fs/nfs/nfs42proc.c   |  69 ++
 fs/nfs/nfs42xdr.c|  98 ++
 fs/nfs/nfs4_fs.h |   3 +
 fs/nfs/nfs4file.c|  25 
 fs/nfs/nfs4proc.c|   4 +-
 fs/nfs/nfs4xdr.c |   7 +
 fs/nfs/pagelist.c|  10 +-
 fs/nfs/pnfs.c|  33 -
 fs/nfs/pnfs.h|   7 +-
 fs/nfs_common/Makefile   |   3 +-
 fs/{lockd => nfs_common}/grace.c |  68 --
 fs/nfsd/Kconfig  |   4 +-
 fs/nfsd/cache.h  |   1 -
 fs/nfsd/export.c |   1 +
 fs/nfsd/nfs3proc.c   |  13 +-
 fs/nfsd/nfs4callback.c   | 145 ++---
 fs/nfsd/nfs4idmap.c  |  20 ++-
 fs/nfsd/nfs4proc.c   |  49 +++
 fs/nfsd/nfs4recover.c| 205 +++--
 fs/nfsd/nfs4state.c  | 118 +
 fs/nfsd/nfs4xdr.c|  75 ++-
 fs/nfsd/nfscache.c   | 214 ---
 fs/nfsd/nfsctl.c |  45 +++
 fs/nfsd/nfsd.h   |   2 +-
 fs/nfsd/nfsfh.c  |   6 +-
 fs/nfsd/state.h  |  28 +++-
 fs/nfsd/vfs.c|  37 --
 fs/nfsd/xdr4.h   |  14 ++
 include/linux/nfs4.h |  29 -
 include/linux/nfs_fs_sb.h|   1 +
 include/linux/nfs_xdr.h  |  19 +++
 include/linux/proc_fs.h  |   2 +
 include/linux/sunrpc/svc.h   |   1 -
 include/uapi/linux/nfsd/export.h |   5 +-
 net/sunrpc/svc.c |   2 -
 net/sunrpc/svc_xprt.c|  81 +---
 net/sunrpc/svcsock.c |  25 +---
 net/sunrpc/xprtrdma/svc_rdma_transport.c |   2 +-
 net/sunrpc/xprtrdma/xprt_rdma.h  |   7 +
 50 files changed, 1222 insertions(+), 425 deletions(-)
 create mode 100644 fs/lockd/procfs.c
 create mode 100644 fs/lockd/procfs.h
 create mode 100644 fs/nfs/nfs42.h
 create mode 100644 fs/nfs/nfs42proc.c
 create mode 100644 fs/nfs/nfs42xdr.c
 rename fs/{lockd => nfs_common}/grace.c (50%)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes and SEEK_HOLE/SEEK_DATA feature

2014-10-16 Thread Trond Myklebust
Hi Linus,

The following changes since commit 72c23f0819977d37924af92a42a9b7fbfd1c95d8:

  Merge branch 'bugfixes' into linux-next (2014-09-30 17:21:41 -0400)

are available in the git repository at:


  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.18-2

for you to fetch changes up to b8fb9c30f25e45dab5d2cd310ab6913b6861d00f:

  NFS: Fix a bogus warning in nfs_generic_pgio (2014-10-13 11:04:02 -0400)

Note the tree does include a partial merge of Bruce's tree. That was
done in order to resolve an include file dependency issue for the SEEK
patch.

Cheers
  Trond


NFS client updates for Linux 3.18

Highlights include:

Stable fixes:
- Fix an uninitialised pointer Oops in the writeback error path
- Fix a bogus warning (and early exit from the loop) in nfs_generic_pgio

Features:
- Add NFSv4.2 SEEK feature and client support for lseek(SEEK_HOLE/SEEK_DATA)

Other fixes:
- pnfs: replace broken pnfs_put_lseg_async
- Remove dead prototype for nfs4_insert_deviceid_node


Anna Schumaker (1):
  NFS: Implement SEEK

Tom Haynes (1):
  NFSv4: Remove dead prototype for nfs4_insert_deviceid_node()

Trond Myklebust (5):
  Merge commit '24bab491220f' into client-4.2
  Merge branch 'client-4.2' into linux-next
  NFSv4.1/pnfs: replace broken pnfs_put_lseg_async
  NFS: Fix an uninitialised pointer Oops in the writeback error path
  NFS: Fix a bogus warning in nfs_generic_pgio

 fs/Kconfig   |   6 +-
 fs/lockd/Makefile|   3 +-
 fs/lockd/netns.h |   1 -
 fs/lockd/procfs.c|  92 +
 fs/lockd/procfs.h|  28 
 fs/lockd/svc.c   |  16 ++-
 fs/nfs/Makefile  |   1 +
 fs/nfs/callback.c|   4 +-
 fs/nfs/filelayout/filelayout.c   |   2 +-
 fs/nfs/inode.c   |   2 +
 fs/nfs/nfs42.h   |  14 ++
 fs/nfs/nfs42proc.c   |  69 ++
 fs/nfs/nfs42xdr.c|  98 ++
 fs/nfs/nfs4_fs.h |   3 +
 fs/nfs/nfs4file.c|  25 
 fs/nfs/nfs4proc.c|   4 +-
 fs/nfs/nfs4xdr.c |   7 +
 fs/nfs/pagelist.c|  10 +-
 fs/nfs/pnfs.c|  33 -
 fs/nfs/pnfs.h|   7 +-
 fs/nfs_common/Makefile   |   3 +-
 fs/{lockd = nfs_common}/grace.c |  68 --
 fs/nfsd/Kconfig  |   4 +-
 fs/nfsd/cache.h  |   1 -
 fs/nfsd/export.c |   1 +
 fs/nfsd/nfs3proc.c   |  13 +-
 fs/nfsd/nfs4callback.c   | 145 ++---
 fs/nfsd/nfs4idmap.c  |  20 ++-
 fs/nfsd/nfs4proc.c   |  49 +++
 fs/nfsd/nfs4recover.c| 205 +++--
 fs/nfsd/nfs4state.c  | 118 +
 fs/nfsd/nfs4xdr.c|  75 ++-
 fs/nfsd/nfscache.c   | 214 ---
 fs/nfsd/nfsctl.c |  45 +++
 fs/nfsd/nfsd.h   |   2 +-
 fs/nfsd/nfsfh.c  |   6 +-
 fs/nfsd/state.h  |  28 +++-
 fs/nfsd/vfs.c|  37 --
 fs/nfsd/xdr4.h   |  14 ++
 include/linux/nfs4.h |  29 -
 include/linux/nfs_fs_sb.h|   1 +
 include/linux/nfs_xdr.h  |  19 +++
 include/linux/proc_fs.h  |   2 +
 include/linux/sunrpc/svc.h   |   1 -
 include/uapi/linux/nfsd/export.h |   5 +-
 net/sunrpc/svc.c |   2 -
 net/sunrpc/svc_xprt.c|  81 +---
 net/sunrpc/svcsock.c |  25 +---
 net/sunrpc/xprtrdma/svc_rdma_transport.c |   2 +-
 net/sunrpc/xprtrdma/xprt_rdma.h  |   7 +
 50 files changed, 1222 insertions(+), 425 deletions(-)
 create mode 100644 fs/lockd/procfs.c
 create mode 100644 fs/lockd/procfs.h
 create mode 100644 fs/nfs/nfs42.h
 create mode 100644 fs/nfs/nfs42proc.c
 create mode 100644 fs/nfs/nfs42xdr.c
 rename fs/{lockd = nfs_common}/grace.c (50%)


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2014-09-19 Thread Trond Myklebust
Hi Linus,

The following changes since commit 224ecbf5a674ec7da3a3b3ea21ca62e2853653fa:

  pnfs: fix filelayout_retry_commit when idx > 0 (2014-09-10 12:43:45 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.17-5

for you to fetch changes up to cd9288ffaea4359d5cfe2b8d264911506aed26a4:

  NFSv4: Fix another bug in the close/open_downgrade code (2014-09-18 13:04:22 
-0400)


NFS client fixes for 3.17

Highligts:
- Fix an Oops in nfs4_open_and_get_state
- Fix an Oops in the nfs4_state_manager
- Fix another bug in the close/open_downgrade code


NeilBrown (1):
  NFS: remove BUG possibility in nfs4_open_and_get_state

Steve Dickson (1):
  NFSv4: nfs4_state_manager() vs. nfs_server_remove_lists()

Trond Myklebust (1):
  NFSv4: Fix another bug in the close/open_downgrade code

 fs/nfs/nfs4client.c | 38 --
 fs/nfs/nfs4proc.c   | 40 ++--
 2 files changed, 42 insertions(+), 36 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2014-09-19 Thread Trond Myklebust
Hi Linus,

The following changes since commit 224ecbf5a674ec7da3a3b3ea21ca62e2853653fa:

  pnfs: fix filelayout_retry_commit when idx  0 (2014-09-10 12:43:45 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.17-5

for you to fetch changes up to cd9288ffaea4359d5cfe2b8d264911506aed26a4:

  NFSv4: Fix another bug in the close/open_downgrade code (2014-09-18 13:04:22 
-0400)


NFS client fixes for 3.17

Highligts:
- Fix an Oops in nfs4_open_and_get_state
- Fix an Oops in the nfs4_state_manager
- Fix another bug in the close/open_downgrade code


NeilBrown (1):
  NFS: remove BUG possibility in nfs4_open_and_get_state

Steve Dickson (1):
  NFSv4: nfs4_state_manager() vs. nfs_server_remove_lists()

Trond Myklebust (1):
  NFSv4: Fix another bug in the close/open_downgrade code

 fs/nfs/nfs4client.c | 38 --
 fs/nfs/nfs4proc.c   | 40 ++--
 2 files changed, 42 insertions(+), 36 deletions(-)


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes for Linux 3.16

2014-06-25 Thread Trond Myklebust
Hi Linus,

The following changes since commit a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee:

  Linux 3.16-rc2 (2014-06-21 19:02:54 -1000)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.16-2

for you to fetch changes up to 66b068604903849c5dee3842eb72564064c64c72:

  NFSv4: test SECINFO RPC_AUTH_GSS pseudoflavors for support (2014-06-24 
18:46:58 -0400)


NFS client fixes for Linux 3.16

Highlights include:

- Stable fix for a data corruption case due to incorrect cache validation
- Fix a couple of false positive cache invalidations
- Fix NFSv4 security negotiation issues


Andy Adamson (3):
  NFS check the return of nfs4_negotiate_security in nfs4_submount
  NFS Return -EPERM if no supported or matching SECINFO flavor
  NFSv4: test SECINFO RPC_AUTH_GSS pseudoflavors for support

Scott Mayhew (1):
  nfs: Fix cache_validity check in nfs_write_pageuptodate()

Trond Myklebust (2):
  NFS: Clear NFS_INO_REVAL_PAGECACHE when we update the file size
  NFS: Don't mark the data cache as invalid if it has been flushed

 fs/nfs/inode.c |  76 +++-
 fs/nfs/nfs4_fs.h   |   2 +-
 fs/nfs/nfs4namespace.c | 102 +++--
 fs/nfs/nfs4proc.c  |   2 +-
 fs/nfs/write.c |   4 +-
 net/sunrpc/auth.c  |   1 +
 6 files changed, 104 insertions(+), 83 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com



signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes for Linux 3.16

2014-06-25 Thread Trond Myklebust
Hi Linus,

The following changes since commit a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee:

  Linux 3.16-rc2 (2014-06-21 19:02:54 -1000)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.16-2

for you to fetch changes up to 66b068604903849c5dee3842eb72564064c64c72:

  NFSv4: test SECINFO RPC_AUTH_GSS pseudoflavors for support (2014-06-24 
18:46:58 -0400)


NFS client fixes for Linux 3.16

Highlights include:

- Stable fix for a data corruption case due to incorrect cache validation
- Fix a couple of false positive cache invalidations
- Fix NFSv4 security negotiation issues


Andy Adamson (3):
  NFS check the return of nfs4_negotiate_security in nfs4_submount
  NFS Return -EPERM if no supported or matching SECINFO flavor
  NFSv4: test SECINFO RPC_AUTH_GSS pseudoflavors for support

Scott Mayhew (1):
  nfs: Fix cache_validity check in nfs_write_pageuptodate()

Trond Myklebust (2):
  NFS: Clear NFS_INO_REVAL_PAGECACHE when we update the file size
  NFS: Don't mark the data cache as invalid if it has been flushed

 fs/nfs/inode.c |  76 +++-
 fs/nfs/nfs4_fs.h   |   2 +-
 fs/nfs/nfs4namespace.c | 102 +++--
 fs/nfs/nfs4proc.c  |   2 +-
 fs/nfs/write.c |   4 +-
 net/sunrpc/auth.c  |   1 +
 6 files changed, 104 insertions(+), 83 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.mykleb...@primarydata.com



signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes

2014-01-31 Thread Trond Myklebust
Hi Linus,

The following changes since commit ed7e5423014ad89720fcf315c0b73f2c5d0c7bd2:

  pnfs: Proper delay for NFS4ERR_RECALLCONFLICT in layout_get_done (2014-01-22 
18:10:49 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.14-2

for you to fetch changes up to a1800acaf7d1c2bf6d68b9a8f4ab8560cc66555a:

  nfs: initialize the ACL support bits to zero. (2014-01-31 08:28:16 -0500)

Please note that this pull excludes the fixes for the NFSv3 posix acl
regressions, since at least one of those patches will need an ack from
Al and/or Christoph.

Cheers
  Trond


NFS client bugfixes for Linux 3.14

Highlights:

- Fix several races in nfs_revalidate_mapping
- NFSv4.1 slot leakage in the pNFS files driver
- Stable fix for a slot leak in nfs40_sequence_done
- Don't reject NFSv4 servers that support ACLs with only ALLOW aces


Andy Adamson (1):
  NFSv4.1 free slot before resending I/O to MDS

Jeff Layton (3):
  NFS: fix the handling of NFS_INO_INVALID_DATA flag in 
nfs_revalidate_mapping
  sunrpc: turn warn_gssd() log message into a dprintk()
  nfs: add memory barriers around NFS_INO_INVALID_DATA and 
NFS_INO_INVALIDATING

Malahal Naineni (2):
  nfs: handle servers that support only ALLOW ACE type.
  nfs: initialize the ACL support bits to zero.

Trond Myklebust (4):
  NFS: Fix races in nfs_revalidate_mapping
  NFSv4: Fix a slot leak in nfs40_sequence_done
  NFSv4.1: Clean up nfs41_sequence_done
  NFSv4.1: Cleanup

 fs/nfs/dir.c   | 13 +--
 fs/nfs/inode.c | 51 +++---
 fs/nfs/nfs4_fs.h   |  1 +
 fs/nfs/nfs4client.c|  5 +
 fs/nfs/nfs4filelayout.c|  8 +--
 fs/nfs/nfs4proc.c  | 31 -
 fs/nfs/nfs4xdr.c   |  2 +-
 fs/nfs/nfstrace.h  |  1 +
 fs/nfs/write.c |  7 +-
 include/linux/nfs_fs.h |  1 +
 net/sunrpc/auth_gss/auth_gss.c |  8 +--
 11 files changed, 86 insertions(+), 42 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer


signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes

2014-01-31 Thread Trond Myklebust
Hi Linus,

The following changes since commit ed7e5423014ad89720fcf315c0b73f2c5d0c7bd2:

  pnfs: Proper delay for NFS4ERR_RECALLCONFLICT in layout_get_done (2014-01-22 
18:10:49 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.14-2

for you to fetch changes up to a1800acaf7d1c2bf6d68b9a8f4ab8560cc66555a:

  nfs: initialize the ACL support bits to zero. (2014-01-31 08:28:16 -0500)

Please note that this pull excludes the fixes for the NFSv3 posix acl
regressions, since at least one of those patches will need an ack from
Al and/or Christoph.

Cheers
  Trond


NFS client bugfixes for Linux 3.14

Highlights:

- Fix several races in nfs_revalidate_mapping
- NFSv4.1 slot leakage in the pNFS files driver
- Stable fix for a slot leak in nfs40_sequence_done
- Don't reject NFSv4 servers that support ACLs with only ALLOW aces


Andy Adamson (1):
  NFSv4.1 free slot before resending I/O to MDS

Jeff Layton (3):
  NFS: fix the handling of NFS_INO_INVALID_DATA flag in 
nfs_revalidate_mapping
  sunrpc: turn warn_gssd() log message into a dprintk()
  nfs: add memory barriers around NFS_INO_INVALID_DATA and 
NFS_INO_INVALIDATING

Malahal Naineni (2):
  nfs: handle servers that support only ALLOW ACE type.
  nfs: initialize the ACL support bits to zero.

Trond Myklebust (4):
  NFS: Fix races in nfs_revalidate_mapping
  NFSv4: Fix a slot leak in nfs40_sequence_done
  NFSv4.1: Clean up nfs41_sequence_done
  NFSv4.1: Cleanup

 fs/nfs/dir.c   | 13 +--
 fs/nfs/inode.c | 51 +++---
 fs/nfs/nfs4_fs.h   |  1 +
 fs/nfs/nfs4client.c|  5 +
 fs/nfs/nfs4filelayout.c|  8 +--
 fs/nfs/nfs4proc.c  | 31 -
 fs/nfs/nfs4xdr.c   |  2 +-
 fs/nfs/nfstrace.h  |  1 +
 fs/nfs/write.c |  7 +-
 include/linux/nfs_fs.h |  1 +
 net/sunrpc/auth_gss/auth_gss.c |  8 +--
 11 files changed, 86 insertions(+), 42 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer


signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes

2013-12-05 Thread Trond Myklebust
Hi Linus,

The following changes since commit 8c2fabc6542d9d0f8b16bd1045c2eda59bdcde13:

  nfs: fix pnfs Kconfig defaults (2013-11-15 13:41:43 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.13-3

for you to fetch changes up to 3873d064b8538686bbbd4b858dc8a07db1f7f43a:

  nfs: fix do_div() warning by instead using sector_div() (2013-12-04 12:57:37 
-0500)


NFS client bugfixes

- Stable fix for a NFSv4.1 delegation and state recovery deadlock
- Stable fix for a loop on irrecoverable errors when returning delegations
- Fix a 3-way deadlock between layoutreturn, open, and state recovery
- Update the MAINTAINERS file with contact information for Trond Myklebust
- Close needs to handle NFS4ERR_ADMIN_REVOKED
- Enabling v4.2 should not recompile nfsd and lockd
- Fix a couple of compile warnings


Andy Adamson (2):
  NFSv4 wait on recovery for async session errors
  SUNRPC: do not fail gss proc NULL calls with EACCES

Anna Schumaker (1):
  NFS: Enabling v4.2 should not recompile nfsd and lockd

Helge Deller (1):
  nfs: fix do_div() warning by instead using sector_div()

Trond Myklebust (5):
  NFS: Fix a warning in nfs_setsecurity
  NFSv4: Update list of irrecoverable errors on DELEGRETURN
  NFSv4: close needs to handle NFS4ERR_ADMIN_REVOKED
  NFSv4.1: Prevent a 3-way deadlock between layoutreturn, open and state 
recovery
  MAINTAINERS: Update contact information for Trond Myklebust

 MAINTAINERS  |  4 ++--
 fs/nfs/blocklayout/blocklayout.h |  1 +
 fs/nfs/blocklayout/extents.c |  2 +-
 fs/nfs/dns_resolve.c |  2 ++
 fs/nfs/inode.c   |  2 +-
 fs/nfs/internal.h| 15 +++
 fs/nfs/nfs4_fs.h |  8 
 fs/nfs/nfs4proc.c| 30 +++---
 include/linux/nfs4.h | 10 --
 include/linux/nfs_fs.h   | 18 --
 net/sunrpc/auth_gss/auth_gss.c   |  2 +-
 11 files changed, 54 insertions(+), 40 deletions(-)



signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes

2013-12-05 Thread Trond Myklebust
Hi Linus,

The following changes since commit 8c2fabc6542d9d0f8b16bd1045c2eda59bdcde13:

  nfs: fix pnfs Kconfig defaults (2013-11-15 13:41:43 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.13-3

for you to fetch changes up to 3873d064b8538686bbbd4b858dc8a07db1f7f43a:

  nfs: fix do_div() warning by instead using sector_div() (2013-12-04 12:57:37 
-0500)


NFS client bugfixes

- Stable fix for a NFSv4.1 delegation and state recovery deadlock
- Stable fix for a loop on irrecoverable errors when returning delegations
- Fix a 3-way deadlock between layoutreturn, open, and state recovery
- Update the MAINTAINERS file with contact information for Trond Myklebust
- Close needs to handle NFS4ERR_ADMIN_REVOKED
- Enabling v4.2 should not recompile nfsd and lockd
- Fix a couple of compile warnings


Andy Adamson (2):
  NFSv4 wait on recovery for async session errors
  SUNRPC: do not fail gss proc NULL calls with EACCES

Anna Schumaker (1):
  NFS: Enabling v4.2 should not recompile nfsd and lockd

Helge Deller (1):
  nfs: fix do_div() warning by instead using sector_div()

Trond Myklebust (5):
  NFS: Fix a warning in nfs_setsecurity
  NFSv4: Update list of irrecoverable errors on DELEGRETURN
  NFSv4: close needs to handle NFS4ERR_ADMIN_REVOKED
  NFSv4.1: Prevent a 3-way deadlock between layoutreturn, open and state 
recovery
  MAINTAINERS: Update contact information for Trond Myklebust

 MAINTAINERS  |  4 ++--
 fs/nfs/blocklayout/blocklayout.h |  1 +
 fs/nfs/blocklayout/extents.c |  2 +-
 fs/nfs/dns_resolve.c |  2 ++
 fs/nfs/inode.c   |  2 +-
 fs/nfs/internal.h| 15 +++
 fs/nfs/nfs4_fs.h |  8 
 fs/nfs/nfs4proc.c| 30 +++---
 include/linux/nfs4.h | 10 --
 include/linux/nfs_fs.h   | 18 --
 net/sunrpc/auth_gss/auth_gss.c   |  2 +-
 11 files changed, 54 insertions(+), 40 deletions(-)



signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes

2013-11-16 Thread Myklebust, Trond
Hi Linus

The following changes since commit fab99ebe39fe7d11fbd9b5fb84f07432af9ba36f:

  NFSv4.2: Remove redundant checks in nfs_setsecurity+nfs4_label_init_security 
(2013-11-04 16:42:52 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.13-2

for you to fetch changes up to 8c2fabc6542d9d0f8b16bd1045c2eda59bdcde13:

  nfs: fix pnfs Kconfig defaults (2013-11-15 13:41:43 -0500)


NFS client bugfixes:

- Stable fix for data corruption when retransmitting O_DIRECT writes
- Stable fix for a deep recursion/stack overflow bug in rpc_release_client
- Stable fix for infinite looping when mounting a NFSv4.x volume
- Fix a typo in the nfs mount option parser
- Allow pNFS layouts to be compiled into the kernel when NFSv4.1 is


Christoph Hellwig (1):
  nfs: fix pnfs Kconfig defaults

Jeff Layton (1):
  nfs: don't retry detect_trunking with RPC_AUTH_UNIX more than once

NeilBrown (1):
  NFS: correctly report misuse of "migration" mount option.

Trond Myklebust (2):
  SUNRPC: Fix a data corruption issue when retransmitting RPC calls
  SUNRPC: Avoid deep recursion in rpc_release_client

 fs/nfs/Kconfig|  6 +++---
 fs/nfs/nfs4state.c|  7 ++-
 fs/nfs/super.c|  2 +-
 net/sunrpc/clnt.c | 29 +
 net/sunrpc/xprtsock.c | 28 +---
 5 files changed, 48 insertions(+), 24 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com


signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes

2013-11-16 Thread Myklebust, Trond
Hi Linus

The following changes since commit fab99ebe39fe7d11fbd9b5fb84f07432af9ba36f:

  NFSv4.2: Remove redundant checks in nfs_setsecurity+nfs4_label_init_security 
(2013-11-04 16:42:52 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.13-2

for you to fetch changes up to 8c2fabc6542d9d0f8b16bd1045c2eda59bdcde13:

  nfs: fix pnfs Kconfig defaults (2013-11-15 13:41:43 -0500)


NFS client bugfixes:

- Stable fix for data corruption when retransmitting O_DIRECT writes
- Stable fix for a deep recursion/stack overflow bug in rpc_release_client
- Stable fix for infinite looping when mounting a NFSv4.x volume
- Fix a typo in the nfs mount option parser
- Allow pNFS layouts to be compiled into the kernel when NFSv4.1 is


Christoph Hellwig (1):
  nfs: fix pnfs Kconfig defaults

Jeff Layton (1):
  nfs: don't retry detect_trunking with RPC_AUTH_UNIX more than once

NeilBrown (1):
  NFS: correctly report misuse of migration mount option.

Trond Myklebust (2):
  SUNRPC: Fix a data corruption issue when retransmitting RPC calls
  SUNRPC: Avoid deep recursion in rpc_release_client

 fs/nfs/Kconfig|  6 +++---
 fs/nfs/nfs4state.c|  7 ++-
 fs/nfs/super.c|  2 +-
 net/sunrpc/clnt.c | 29 +
 net/sunrpc/xprtsock.c | 28 +---
 5 files changed, 48 insertions(+), 24 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com


signature.asc
Description: This is a digitally signed message part


[GIT PULL] Please pull NFS client bugfixes

2013-09-30 Thread Myklebust, Trond

Hi Linus,

The following changes since commit 4a10c2ac2f368583138b774ca41fac4207911983:

  Linux 3.12-rc2 (2013-09-23 15:41:09 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.12-4

for you to fetch changes up to 367156d9a87b21b5232dd93107c5fc61b09ba2ef:

  NFS: Give "flavor" an initial value to fix a compile warning (2013-09-29 
16:03:34 -0400)


NFS client bugfixes for 3.12

- Stable fix for Oopses in the pNFS files layout driver
- Fix a regression when doing a non-exclusive file create on NFSv4.x
- NFSv4.1 security negotiation fixes when looking up the root filesystem
- Fix a memory ordering issue in the pNFS files layout driver


Anna Schumaker (1):
  NFS: Give "flavor" an initial value to fix a compile warning

Trond Myklebust (3):
  NFSv4: Honour the 'opened' parameter in the atomic_open() filesystem 
method
  NFSv4.1: nfs4_fl_prepare_ds - fix bugs when the connect attempt fails
  NFSv4.1: Ensure memory ordering between nfs4_ds_connect and 
nfs4_fl_prepare_ds

Weston Andros Adamson (1):
  NFSv4.1: try SECINFO_NO_NAME flavs until one works

 fs/nfs/dir.c   |  2 +-
 fs/nfs/nfs4file.c  |  3 ++-
 fs/nfs/nfs4filelayoutdev.c | 20 +---
 fs/nfs/nfs4proc.c  | 58 +-
 include/linux/nfs_xdr.h|  3 ++-
 5 files changed, 63 insertions(+), 23 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�:+v���zZ+��+zf���h���~i���z��w���?�&�)ߢf��^jǫy�m��@A�a���
0��h���i

[GIT PULL] Please pull NFS client bugfixes

2013-09-30 Thread Myklebust, Trond

Hi Linus,

The following changes since commit 4a10c2ac2f368583138b774ca41fac4207911983:

  Linux 3.12-rc2 (2013-09-23 15:41:09 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.12-4

for you to fetch changes up to 367156d9a87b21b5232dd93107c5fc61b09ba2ef:

  NFS: Give flavor an initial value to fix a compile warning (2013-09-29 
16:03:34 -0400)


NFS client bugfixes for 3.12

- Stable fix for Oopses in the pNFS files layout driver
- Fix a regression when doing a non-exclusive file create on NFSv4.x
- NFSv4.1 security negotiation fixes when looking up the root filesystem
- Fix a memory ordering issue in the pNFS files layout driver


Anna Schumaker (1):
  NFS: Give flavor an initial value to fix a compile warning

Trond Myklebust (3):
  NFSv4: Honour the 'opened' parameter in the atomic_open() filesystem 
method
  NFSv4.1: nfs4_fl_prepare_ds - fix bugs when the connect attempt fails
  NFSv4.1: Ensure memory ordering between nfs4_ds_connect and 
nfs4_fl_prepare_ds

Weston Andros Adamson (1):
  NFSv4.1: try SECINFO_NO_NAME flavs until one works

 fs/nfs/dir.c   |  2 +-
 fs/nfs/nfs4file.c  |  3 ++-
 fs/nfs/nfs4filelayoutdev.c | 20 +---
 fs/nfs/nfs4proc.c  | 58 +-
 include/linux/nfs_xdr.h|  3 ++-
 5 files changed, 63 insertions(+), 23 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�j:+v���zZ+��+zf���h���~i���z��w���?��)ߢf��^jǫy�m��@A�a���
0��h���i

[GIT PULL] Please pull NFS client bugfixes

2013-05-26 Thread Myklebust, Trond
Hi Linus,

The following changes since commit f722406faae2d073cc1d01063d1123c35425939e:

  Linux 3.10-rc1 (2013-05-11 17:14:08 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.10-3

for you to fetch changes up to 83c168bf8017212a9d502536f9dcd0b54d24e330:

  NFS: Fix SETCLIENTID fallback if GSS is not available (2013-05-23 18:50:40 
-0400)


NFS client bugfixes for 3.10

- Stable fix to prevent an rpc_task wakeup race
- Fix a NFSv4.1 session drain deadlock
- Fix a NFSv4/v4.1 mount regression when not running rpc.gssd
- Ensure auth_gss pipe detection works in namespaces
- Fix SETCLIENTID fallback if rpcsec_gss is not available


Andy Adamson (1):
  NFSv4.1 Fix a pNFS session draining deadlock

Chuck Lever (1):
  NFS: Fix SETCLIENTID fallback if GSS is not available

Trond Myklebust (4):
  SUNRPC: Fix a bug in gss_create_upcall
  SUNRPC: Faster detection if gssd is actually running
  SUNRPC: Convert auth_gss pipe detection to work in namespaces
  SUNRPC: Prevent an rpc_task wakeup race

 fs/nfs/callback_proc.c |  2 +-
 fs/nfs/callback_xdr.c  |  2 +-
 fs/nfs/nfs4client.c|  2 +-
 fs/nfs/nfs4proc.c  |  2 +-
 fs/nfs/nfs4session.c   |  4 +--
 fs/nfs/nfs4session.h   | 13 +
 fs/nfs/nfs4state.c | 15 +-
 net/sunrpc/auth_gss/auth_gss.c | 62 --
 net/sunrpc/netns.h |  4 +++
 net/sunrpc/rpc_pipe.c  |  5 
 net/sunrpc/sched.c |  8 +-
 11 files changed, 78 insertions(+), 41 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-05-26 Thread Myklebust, Trond
Hi Linus,

The following changes since commit f722406faae2d073cc1d01063d1123c35425939e:

  Linux 3.10-rc1 (2013-05-11 17:14:08 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.10-3

for you to fetch changes up to 83c168bf8017212a9d502536f9dcd0b54d24e330:

  NFS: Fix SETCLIENTID fallback if GSS is not available (2013-05-23 18:50:40 
-0400)


NFS client bugfixes for 3.10

- Stable fix to prevent an rpc_task wakeup race
- Fix a NFSv4.1 session drain deadlock
- Fix a NFSv4/v4.1 mount regression when not running rpc.gssd
- Ensure auth_gss pipe detection works in namespaces
- Fix SETCLIENTID fallback if rpcsec_gss is not available


Andy Adamson (1):
  NFSv4.1 Fix a pNFS session draining deadlock

Chuck Lever (1):
  NFS: Fix SETCLIENTID fallback if GSS is not available

Trond Myklebust (4):
  SUNRPC: Fix a bug in gss_create_upcall
  SUNRPC: Faster detection if gssd is actually running
  SUNRPC: Convert auth_gss pipe detection to work in namespaces
  SUNRPC: Prevent an rpc_task wakeup race

 fs/nfs/callback_proc.c |  2 +-
 fs/nfs/callback_xdr.c  |  2 +-
 fs/nfs/nfs4client.c|  2 +-
 fs/nfs/nfs4proc.c  |  2 +-
 fs/nfs/nfs4session.c   |  4 +--
 fs/nfs/nfs4session.h   | 13 +
 fs/nfs/nfs4state.c | 15 +-
 net/sunrpc/auth_gss/auth_gss.c | 62 --
 net/sunrpc/netns.h |  4 +++
 net/sunrpc/rpc_pipe.c  |  5 
 net/sunrpc/sched.c |  8 +-
 11 files changed, 78 insertions(+), 41 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-03-26 Thread Myklebust, Trond
Hi Linus,

The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8:

  Linux 3.9-rc1 (2013-03-03 15:11:05 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.9-3

for you to fetch changes up to 1166fde6a923c30f4351515b6a9a1efc513e7d00:

  SUNRPC: Add barriers to ensure read ordering in rpc_wake_up_task_queue_locked 
(2013-03-25 11:23:40 -0400)


NFS client bugfixes for Linux 3.9

- Fix an NFSv4 idmapper regression
- Fix an Oops in the pNFS blocks client
- Fix up various issues with pNFS layoutcommit
- Ensure correct read ordering of variables in rpc_wake_up_task_queue_locked


Trond Myklebust (5):
  NFSv4: Fix the string length returned by the idmapper
  NFSv4.1: Fix a race in pNFS layoutcommit
  NFSv4.1: Always clear the NFS_INO_LAYOUTCOMMIT in layoutreturn
  NFSv4.1: Add a helper pnfs_commit_and_return_layout
  SUNRPC: Add barriers to ensure read ordering in 
rpc_wake_up_task_queue_locked

fanchaoting (1):
  pnfs-block: removing DM device maybe cause oops when call dev_remove

 fs/nfs/blocklayout/blocklayoutdm.c |  4 +-
 fs/nfs/idmap.c | 13 +++---
 fs/nfs/nfs4filelayout.c|  1 -
 fs/nfs/nfs4proc.c  | 16 +---
 fs/nfs/pnfs.c  | 81 +-
 fs/nfs/pnfs.h  |  6 +++
 net/sunrpc/sched.c |  9 -
 7 files changed, 96 insertions(+), 34 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-03-26 Thread Myklebust, Trond
Hi Linus,

The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8:

  Linux 3.9-rc1 (2013-03-03 15:11:05 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.9-3

for you to fetch changes up to 1166fde6a923c30f4351515b6a9a1efc513e7d00:

  SUNRPC: Add barriers to ensure read ordering in rpc_wake_up_task_queue_locked 
(2013-03-25 11:23:40 -0400)


NFS client bugfixes for Linux 3.9

- Fix an NFSv4 idmapper regression
- Fix an Oops in the pNFS blocks client
- Fix up various issues with pNFS layoutcommit
- Ensure correct read ordering of variables in rpc_wake_up_task_queue_locked


Trond Myklebust (5):
  NFSv4: Fix the string length returned by the idmapper
  NFSv4.1: Fix a race in pNFS layoutcommit
  NFSv4.1: Always clear the NFS_INO_LAYOUTCOMMIT in layoutreturn
  NFSv4.1: Add a helper pnfs_commit_and_return_layout
  SUNRPC: Add barriers to ensure read ordering in 
rpc_wake_up_task_queue_locked

fanchaoting (1):
  pnfs-block: removing DM device maybe cause oops when call dev_remove

 fs/nfs/blocklayout/blocklayoutdm.c |  4 +-
 fs/nfs/idmap.c | 13 +++---
 fs/nfs/nfs4filelayout.c|  1 -
 fs/nfs/nfs4proc.c  | 16 +---
 fs/nfs/pnfs.c  | 81 +-
 fs/nfs/pnfs.h  |  6 +++
 net/sunrpc/sched.c |  9 -
 7 files changed, 96 insertions(+), 34 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-03-02 Thread Myklebust, Trond
Hi Linus,

We've just concluded another Connectathon interoperability testing week,
and so here are the fixes for the bugs that were discovered.

Cheers,
  Trond

The following changes since commit 666b3d803a511fbc9bc5e5ea8ce66010cf03ea13:

  NLM: Ensure that we resend all pending blocking locks after a reclaim 
(2013-02-19 12:18:27 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.9-2

for you to fetch changes up to 512e4b291c0e97af24619a91f3e8963697da00d8:

  SUNRPC: One line comment fix (2013-03-02 15:54:11 -0800)


NFS client bugfixes for Linux 3.9

- Don't allow NFS silly-renamed files to be deleted
- Don't start the retransmission timer when out of socket space
- Fix a couple of pnfs-related Oopses.
- Fix one more NFSv4 state recovery deadlock
- Don't loop forever when LAYOUTGET returns NFS4ERR_LAYOUTTRYLATER


Benny Halevy (1):
  pnfs: fix resend_to_mds for directio

Jeff Layton (1):
  nfs: don't allow nfs_find_actor to match inodes of the wrong type

Trond Myklebust (4):
  NFS: Don't allow NFS silly-renamed files to be deleted, no signal
  SUNRPC: Don't start the retransmission timer when out of socket space
  NFSv4: Fix another open/open_recovery deadlock
  SUNRPC: One line comment fix

Weston Andros Adamson (4):
  NFSv4.1: Hold reference to layout hdr in layoutget
  PNFS: set the default DS timeout to 60 seconds
  SUNRPC: add call to get configured timeout
  NFSv4.1: LAYOUTGET EDELAY loops timeout to the MDS

 fs/nfs/inode.c  |  2 ++
 fs/nfs/nfs4filelayout.c |  6 --
 fs/nfs/nfs4filelayout.h |  2 +-
 fs/nfs/nfs4proc.c   | 21 ++---
 fs/nfs/pnfs.c   | 21 +
 fs/nfs/pnfs.h   |  6 --
 fs/nfs/unlink.c | 20 +---
 include/linux/nfs_xdr.h |  1 +
 include/linux/sunrpc/clnt.h |  1 +
 net/sunrpc/clnt.c   | 15 +++
 net/sunrpc/xprt.c   |  6 +-
 11 files changed, 77 insertions(+), 24 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-03-02 Thread Myklebust, Trond
Hi Linus,

We've just concluded another Connectathon interoperability testing week,
and so here are the fixes for the bugs that were discovered.

Cheers,
  Trond

The following changes since commit 666b3d803a511fbc9bc5e5ea8ce66010cf03ea13:

  NLM: Ensure that we resend all pending blocking locks after a reclaim 
(2013-02-19 12:18:27 -0500)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.9-2

for you to fetch changes up to 512e4b291c0e97af24619a91f3e8963697da00d8:

  SUNRPC: One line comment fix (2013-03-02 15:54:11 -0800)


NFS client bugfixes for Linux 3.9

- Don't allow NFS silly-renamed files to be deleted
- Don't start the retransmission timer when out of socket space
- Fix a couple of pnfs-related Oopses.
- Fix one more NFSv4 state recovery deadlock
- Don't loop forever when LAYOUTGET returns NFS4ERR_LAYOUTTRYLATER


Benny Halevy (1):
  pnfs: fix resend_to_mds for directio

Jeff Layton (1):
  nfs: don't allow nfs_find_actor to match inodes of the wrong type

Trond Myklebust (4):
  NFS: Don't allow NFS silly-renamed files to be deleted, no signal
  SUNRPC: Don't start the retransmission timer when out of socket space
  NFSv4: Fix another open/open_recovery deadlock
  SUNRPC: One line comment fix

Weston Andros Adamson (4):
  NFSv4.1: Hold reference to layout hdr in layoutget
  PNFS: set the default DS timeout to 60 seconds
  SUNRPC: add call to get configured timeout
  NFSv4.1: LAYOUTGET EDELAY loops timeout to the MDS

 fs/nfs/inode.c  |  2 ++
 fs/nfs/nfs4filelayout.c |  6 --
 fs/nfs/nfs4filelayout.h |  2 +-
 fs/nfs/nfs4proc.c   | 21 ++---
 fs/nfs/pnfs.c   | 21 +
 fs/nfs/pnfs.h   |  6 --
 fs/nfs/unlink.c | 20 +---
 include/linux/nfs_xdr.h |  1 +
 include/linux/sunrpc/clnt.h |  1 +
 net/sunrpc/clnt.c   | 15 +++
 net/sunrpc/xprt.c   |  6 +-
 11 files changed, 77 insertions(+), 24 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-02-20 Thread Myklebust, Trond
Hi Linus,

The following changes since commit 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7:

  Linux 3.8-rc6 (2013-02-01 12:08:14 +1100)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.9-1

for you to fetch changes up to 666b3d803a511fbc9bc5e5ea8ce66010cf03ea13:

  NLM: Ensure that we resend all pending blocking locks after a reclaim 
(2013-02-19 12:18:27 -0500)


NFS client bugfixes for Linux 3.9

- Fix an Oops in the pNFS layoutget code
- Fix a number of NFSv4 and v4.1 state recovery deadlocks and hangs
  due to the interaction of the session drain lock and state management
  locks.
- Remove task->tk_xprt, which was hiding a lot of RCU dereferencing bugs
- Fix a long standing NFSv3 posix lock recovery bug.
- Revert commit 324d003b0cd82151adbaecefef57b73f7959a469. It turned out
  that the root cause of the deadlock was due to interactions with the
  workqueues that have now been resolved.


Jeff Layton (1):
  sunrpc: silence build warning in gss_fill_context

Tim Gardner (1):
  nfs: remove kfree() redundant null checks

Trond Myklebust (18):
  SUNRPC: Eliminate task->tk_xprt accesses that bypass rcu_dereference()
  SUNRPC: Pass a pointer to struct rpc_xprt to the connect callback
  SUNRPC: Fix an RCU dereference in xs_local_rpcbind
  SUNRPC: Pass pointers to struct rpc_xprt to the congestion window
  SUNRPC: Fix an RCU dereference in xprt_reserve
  SUNRPC: Avoid RCU dereferences in the transport bind and connect code
  SUNRPC: Nuke the tk_xprt macro
  Revert "NFS: add nfs_sb_deactive_async to avoid deadlock"
  SUNRPC: Add missing static declaration to _gss_mech_get_by_name
  NFSv4: Allow the state manager to mark an open_owner as being recovered
  NFSv4.1: Prevent deadlocks between state recovery and file locking
  NFSv4.1: Don't lose locks when a server reboots during delegation return
  NFSv4: Fix up the return values of nfs4_open_delegation_recall
  NFSv4: Ensure delegation recall and byte range lock removal don't conflict
  NFSv4: Fix a reboot recovery race when opening a file
  NFSv4.1: Fix an ABBA locking issue with session and state serialisation
  NFSv4.1: Fix bulk recall and destroy of layouts
  NLM: Ensure that we resend all pending blocking locks after a reclaim

Weston Andros Adamson (1):
  NFSv4.1: Don't decode skipped layoutgets

fanchaoting (1):
  umount oops when remove blocklayoutdriver first

 fs/lockd/clntproc.c   |   3 +
 fs/nfs/blocklayout/blocklayout.c  |   1 +
 fs/nfs/callback_proc.c|  61 ++
 fs/nfs/delegation.c   | 154 --
 fs/nfs/delegation.h   |   1 +
 fs/nfs/getroot.c  |   3 +-
 fs/nfs/inode.c|   5 +-
 fs/nfs/internal.h |   1 -
 fs/nfs/nfs4_fs.h  |   4 +
 fs/nfs/nfs4proc.c | 133 -
 fs/nfs/nfs4state.c|  11 ++-
 fs/nfs/objlayout/objio_osd.c  |   1 +
 fs/nfs/pnfs.c | 150 -
 fs/nfs/pnfs.h |   7 +-
 fs/nfs/super.c|  49 ---
 fs/nfs/unlink.c   |   5 +-
 include/linux/sunrpc/sched.h  |   1 -
 include/linux/sunrpc/xprt.h   |   6 +-
 net/sunrpc/auth_gss/auth_gss.c|   5 +-
 net/sunrpc/auth_gss/gss_mech_switch.c |   4 +-
 net/sunrpc/clnt.c |  16 ++--
 net/sunrpc/xprt.c |  21 +++--
 net/sunrpc/xprtrdma/rpc_rdma.c|   4 +-
 net/sunrpc/xprtrdma/transport.c   |   7 +-
 net/sunrpc/xprtrdma/xprt_rdma.h   |   6 +-
 net/sunrpc/xprtsock.c |  16 ++--
 26 files changed, 415 insertions(+), 260 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-02-20 Thread Myklebust, Trond
Hi Linus,

The following changes since commit 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7:

  Linux 3.8-rc6 (2013-02-01 12:08:14 +1100)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.9-1

for you to fetch changes up to 666b3d803a511fbc9bc5e5ea8ce66010cf03ea13:

  NLM: Ensure that we resend all pending blocking locks after a reclaim 
(2013-02-19 12:18:27 -0500)


NFS client bugfixes for Linux 3.9

- Fix an Oops in the pNFS layoutget code
- Fix a number of NFSv4 and v4.1 state recovery deadlocks and hangs
  due to the interaction of the session drain lock and state management
  locks.
- Remove task-tk_xprt, which was hiding a lot of RCU dereferencing bugs
- Fix a long standing NFSv3 posix lock recovery bug.
- Revert commit 324d003b0cd82151adbaecefef57b73f7959a469. It turned out
  that the root cause of the deadlock was due to interactions with the
  workqueues that have now been resolved.


Jeff Layton (1):
  sunrpc: silence build warning in gss_fill_context

Tim Gardner (1):
  nfs: remove kfree() redundant null checks

Trond Myklebust (18):
  SUNRPC: Eliminate task-tk_xprt accesses that bypass rcu_dereference()
  SUNRPC: Pass a pointer to struct rpc_xprt to the connect callback
  SUNRPC: Fix an RCU dereference in xs_local_rpcbind
  SUNRPC: Pass pointers to struct rpc_xprt to the congestion window
  SUNRPC: Fix an RCU dereference in xprt_reserve
  SUNRPC: Avoid RCU dereferences in the transport bind and connect code
  SUNRPC: Nuke the tk_xprt macro
  Revert NFS: add nfs_sb_deactive_async to avoid deadlock
  SUNRPC: Add missing static declaration to _gss_mech_get_by_name
  NFSv4: Allow the state manager to mark an open_owner as being recovered
  NFSv4.1: Prevent deadlocks between state recovery and file locking
  NFSv4.1: Don't lose locks when a server reboots during delegation return
  NFSv4: Fix up the return values of nfs4_open_delegation_recall
  NFSv4: Ensure delegation recall and byte range lock removal don't conflict
  NFSv4: Fix a reboot recovery race when opening a file
  NFSv4.1: Fix an ABBA locking issue with session and state serialisation
  NFSv4.1: Fix bulk recall and destroy of layouts
  NLM: Ensure that we resend all pending blocking locks after a reclaim

Weston Andros Adamson (1):
  NFSv4.1: Don't decode skipped layoutgets

fanchaoting (1):
  umount oops when remove blocklayoutdriver first

 fs/lockd/clntproc.c   |   3 +
 fs/nfs/blocklayout/blocklayout.c  |   1 +
 fs/nfs/callback_proc.c|  61 ++
 fs/nfs/delegation.c   | 154 --
 fs/nfs/delegation.h   |   1 +
 fs/nfs/getroot.c  |   3 +-
 fs/nfs/inode.c|   5 +-
 fs/nfs/internal.h |   1 -
 fs/nfs/nfs4_fs.h  |   4 +
 fs/nfs/nfs4proc.c | 133 -
 fs/nfs/nfs4state.c|  11 ++-
 fs/nfs/objlayout/objio_osd.c  |   1 +
 fs/nfs/pnfs.c | 150 -
 fs/nfs/pnfs.h |   7 +-
 fs/nfs/super.c|  49 ---
 fs/nfs/unlink.c   |   5 +-
 include/linux/sunrpc/sched.h  |   1 -
 include/linux/sunrpc/xprt.h   |   6 +-
 net/sunrpc/auth_gss/auth_gss.c|   5 +-
 net/sunrpc/auth_gss/gss_mech_switch.c |   4 +-
 net/sunrpc/clnt.c |  16 ++--
 net/sunrpc/xprt.c |  21 +++--
 net/sunrpc/xprtrdma/rpc_rdma.c|   4 +-
 net/sunrpc/xprtrdma/transport.c   |   7 +-
 net/sunrpc/xprtrdma/xprt_rdma.h   |   6 +-
 net/sunrpc/xprtsock.c |  16 ++--
 26 files changed, 415 insertions(+), 260 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-01-07 Thread Myklebust, Trond
Hi Linus,

The following changes since commit d1c3ed669a2d452cacfb48c2d171a1f364dae2ed:

  Linux 3.8-rc2 (2013-01-02 18:13:21 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.8-2

for you to fetch changes up to ecf0eb9edbb607d74f74b73c14af8b43f3729528:

  nfs: avoid dereferencing null pointer in initiate_bulk_draining (2013-01-05 
14:26:51 -0500)


NFS client bugfixes for Linux 3.8

- Fix a permissions problem when opening NFSv4 files that only have the
  exec bit set.
- Fix a couple of typos in pNFS (inverted logic), and the mount parsing
  (missing pointer dereference).
- Work around a series of deadlock issues due to workqueues using
  struct work_struct pointer address comparisons in the re-entrancy
  tests. Ensure that we don't free struct work_struct prematurely if
  our work function involves waiting for completion of other work
  items (e.g. by calling rpc_shutdown_client).
- Revert the part of commit 168e4b3 that is causing unnecessary warnings
  to be issued in the nfsd callback code.


Nickolai Zeldovich (1):
  nfs: avoid dereferencing null pointer in initiate_bulk_draining

Trond Myklebust (3):
  SUNRPC: Ensure that we free the rpc_task after cleanups are done
  NFS: Ensure that we free the rpc_task after read and write cleanups are 
done
  SUNRPC: Partial revert of commit 168e4b39d1afb79a7e3ea6c3bb246b4c82c6bdb9

Weston Andros Adamson (1):
  NFS: Fix access to suid/sgid executables

Xi Wang (1):
  nfs: fix null checking in nfs_get_option_str()

Yanchuan Nian (1):
  pnfs: Increase the refcount when LAYOUTGET fails the first time

 fs/nfs/callback_proc.c |  2 +-
 fs/nfs/dir.c   | 16 ++--
 fs/nfs/nfs4proc.c  | 18 +++---
 fs/nfs/pnfs.c  |  2 +-
 fs/nfs/read.c  | 10 +++---
 fs/nfs/super.c |  2 +-
 fs/nfs/write.c | 10 +++---
 net/sunrpc/clnt.c  |  5 -
 net/sunrpc/sched.c | 27 +++
 9 files changed, 61 insertions(+), 31 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2013-01-07 Thread Myklebust, Trond
Hi Linus,

The following changes since commit d1c3ed669a2d452cacfb48c2d171a1f364dae2ed:

  Linux 3.8-rc2 (2013-01-02 18:13:21 -0800)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.8-2

for you to fetch changes up to ecf0eb9edbb607d74f74b73c14af8b43f3729528:

  nfs: avoid dereferencing null pointer in initiate_bulk_draining (2013-01-05 
14:26:51 -0500)


NFS client bugfixes for Linux 3.8

- Fix a permissions problem when opening NFSv4 files that only have the
  exec bit set.
- Fix a couple of typos in pNFS (inverted logic), and the mount parsing
  (missing pointer dereference).
- Work around a series of deadlock issues due to workqueues using
  struct work_struct pointer address comparisons in the re-entrancy
  tests. Ensure that we don't free struct work_struct prematurely if
  our work function involves waiting for completion of other work
  items (e.g. by calling rpc_shutdown_client).
- Revert the part of commit 168e4b3 that is causing unnecessary warnings
  to be issued in the nfsd callback code.


Nickolai Zeldovich (1):
  nfs: avoid dereferencing null pointer in initiate_bulk_draining

Trond Myklebust (3):
  SUNRPC: Ensure that we free the rpc_task after cleanups are done
  NFS: Ensure that we free the rpc_task after read and write cleanups are 
done
  SUNRPC: Partial revert of commit 168e4b39d1afb79a7e3ea6c3bb246b4c82c6bdb9

Weston Andros Adamson (1):
  NFS: Fix access to suid/sgid executables

Xi Wang (1):
  nfs: fix null checking in nfs_get_option_str()

Yanchuan Nian (1):
  pnfs: Increase the refcount when LAYOUTGET fails the first time

 fs/nfs/callback_proc.c |  2 +-
 fs/nfs/dir.c   | 16 ++--
 fs/nfs/nfs4proc.c  | 18 +++---
 fs/nfs/pnfs.c  |  2 +-
 fs/nfs/read.c  | 10 +++---
 fs/nfs/super.c |  2 +-
 fs/nfs/write.c | 10 +++---
 net/sunrpc/clnt.c  |  5 -
 net/sunrpc/sched.c | 27 +++
 9 files changed, 61 insertions(+), 31 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] Please pull NFS client bugfixes

2012-11-03 Thread Myklebust, Trond
Hi Linus,

The following changes since commit 08f05c49749ee655bef921d12160960a273aad47:

  Return the right error value when dup[23]() newfd argument is too large 
(2012-10-30 21:27:28 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.7-4

for you to fetch changes up to 998f40b550f257e436485291802fa938e4cf580f:

  NFS4: nfs4_opendata_access should return errno (2012-11-02 18:51:54 -0400)


NFS bugfixes for Linux 3.7

- Fix a bunch of deadlock situations:
  * State recovery can deadlock if we fail to release sequence ids before
scheduling the recovery thread.
  * Calling deactivate_super() from an RPC workqueue thread can deadlock
because of the call to rpc_shutdown_client.
- Display the device name correctly in /proc/*/mounts
- Fix a number of incorrect error return values:
  * When NFSv3 mounts fail due to a timeout.
  * On NFSv4.1 backchannel setup failure
  * On NFSv4 open access checks
- pnfs_find_alloc_layout() must check the layout pointer for NULL
- Fix a regression in the legacy DNS resolved


Ben Hutchings (1):
  nfs: Show original device name verbatim in /proc/*/mount{s,info}

Bryan Schumaker (1):
  NFS: Wait for session recovery to finish before returning

NeilBrown (1):
  NFS: fix bug in legacy DNS resolver.

Scott Mayhew (1):
  nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd timeouts

Trond Myklebust (3):
  NFSv4.1: We must release the sequence id when we fail to get a session 
slot
  NFSv4: nfs4_locku_done must release the sequence id
  NFSv4: Initialise the NFSv4.1 slot table highest_used_slotid correctly

Weston Andros Adamson (3):
  NFS: add nfs_sb_deactive_async to avoid deadlock
  SUNRPC: return proper errno from backchannel_rqst
  NFS4: nfs4_opendata_access should return errno

Yanchuan Nian (1):
  nfs: Check whether a layout pointer is NULL before free it

 fs/nfs/dns_resolve.c  |  5 +++--
 fs/nfs/inode.c|  5 -
 fs/nfs/internal.h |  6 +++--
 fs/nfs/mount_clnt.c   |  2 +-
 fs/nfs/namespace.c| 19 +++-
 fs/nfs/nfs4namespace.c|  3 ++-
 fs/nfs/nfs4proc.c | 46 +++---
 fs/nfs/pnfs.c |  4 ++--
 fs/nfs/super.c| 51 ++-
 fs/nfs/unlink.c   |  2 +-
 net/sunrpc/backchannel_rqst.c |  2 +-
 11 files changed, 110 insertions(+), 35 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�:+v���zZ+��+zf���h���~i���z��w���?�&�)ߢf��^jǫy�m��@A�a���
0��h���i

[GIT PULL] Please pull NFS client bugfixes

2012-11-03 Thread Myklebust, Trond
Hi Linus,

The following changes since commit 08f05c49749ee655bef921d12160960a273aad47:

  Return the right error value when dup[23]() newfd argument is too large 
(2012-10-30 21:27:28 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.7-4

for you to fetch changes up to 998f40b550f257e436485291802fa938e4cf580f:

  NFS4: nfs4_opendata_access should return errno (2012-11-02 18:51:54 -0400)


NFS bugfixes for Linux 3.7

- Fix a bunch of deadlock situations:
  * State recovery can deadlock if we fail to release sequence ids before
scheduling the recovery thread.
  * Calling deactivate_super() from an RPC workqueue thread can deadlock
because of the call to rpc_shutdown_client.
- Display the device name correctly in /proc/*/mounts
- Fix a number of incorrect error return values:
  * When NFSv3 mounts fail due to a timeout.
  * On NFSv4.1 backchannel setup failure
  * On NFSv4 open access checks
- pnfs_find_alloc_layout() must check the layout pointer for NULL
- Fix a regression in the legacy DNS resolved


Ben Hutchings (1):
  nfs: Show original device name verbatim in /proc/*/mount{s,info}

Bryan Schumaker (1):
  NFS: Wait for session recovery to finish before returning

NeilBrown (1):
  NFS: fix bug in legacy DNS resolver.

Scott Mayhew (1):
  nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd timeouts

Trond Myklebust (3):
  NFSv4.1: We must release the sequence id when we fail to get a session 
slot
  NFSv4: nfs4_locku_done must release the sequence id
  NFSv4: Initialise the NFSv4.1 slot table highest_used_slotid correctly

Weston Andros Adamson (3):
  NFS: add nfs_sb_deactive_async to avoid deadlock
  SUNRPC: return proper errno from backchannel_rqst
  NFS4: nfs4_opendata_access should return errno

Yanchuan Nian (1):
  nfs: Check whether a layout pointer is NULL before free it

 fs/nfs/dns_resolve.c  |  5 +++--
 fs/nfs/inode.c|  5 -
 fs/nfs/internal.h |  6 +++--
 fs/nfs/mount_clnt.c   |  2 +-
 fs/nfs/namespace.c| 19 +++-
 fs/nfs/nfs4namespace.c|  3 ++-
 fs/nfs/nfs4proc.c | 46 +++---
 fs/nfs/pnfs.c |  4 ++--
 fs/nfs/super.c| 51 ++-
 fs/nfs/unlink.c   |  2 +-
 net/sunrpc/backchannel_rqst.c |  2 +-
 11 files changed, 110 insertions(+), 35 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com
N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�j:+v���zZ+��+zf���h���~i���z��w���?��)ߢf��^jǫy�m��@A�a���
0��h���i

[GIT PULL] Please pull NFS client bugfixes...

2012-10-22 Thread Myklebust, Trond
Hi Linus,

The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37:

  Linux 3.7-rc1 (2012-10-14 14:41:04 -0700)

are available in the git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.7-2

for you to fetch changes up to e9b7e91745fa9df94900c8ab08e633f336686098:

  NFSv4: Fix the return value for nfs_callback_start_svc (2012-10-16 13:14:42 
-0400)


NFS client bugfixes for Linux 3.7

- Do not call pnfs_return_layout() from an rpciod context
- nfs4_ds_disconnect can cause Oopses. Kill it...
- Fix the return value for nfs_callback_start_svc
- Fix a number of compile warnings


Trond Myklebust (6):
  NFSv4.1: Kill nfs4_ds_disconnect()
  NFSv4.1: Do not call pnfs_return_layout() from an rpciod context
  NFSv4.1: Use kcalloc() to allocate zeroed arrays instead of kzalloc()
  NFSv4: fs/nfs/nfs4getroot.c needs to include "internal.h"
  NFSv4.1: Declare osd_pri_2_pnfs_err(), objio_init_read/write to be static
  NFSv4: Fix the return value for nfs_callback_start_svc

 fs/nfs/callback.c|  2 +-
 fs/nfs/nfs4filelayout.c  | 21 -
 fs/nfs/nfs4filelayout.h  |  1 -
 fs/nfs/nfs4filelayoutdev.c   | 22 --
 fs/nfs/nfs4getroot.c |  1 +
 fs/nfs/objlayout/objio_osd.c |  6 +++---
 fs/nfs/pnfs.h|  1 +
 7 files changed, 22 insertions(+), 32 deletions(-)

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
trond.mykleb...@netapp.com
www.netapp.com


  1   2   >