linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] please pull file-locking related changes for v4.2
@ 2015-07-13 10:45 Jeff Layton
  2015-07-13 13:38 ` J. Bruce Fields
  2015-07-14 17:15 ` Anna Schumaker
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Layton @ 2015-07-13 10:45 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-fsdevel, linux-kernel, J. Bruce Fields, trond.myklebust,
	Anna.Schumaker

[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]

The following changes since commit b9243b5a5d2da4eb0a54950f4e2d6272863b48be:

  Merge branch 'parisc-4.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2015-07-10 16:54:37 -0700)

are available in the git repository at:

  git://git.samba.org/jlayton/linux.git tags/locks-v4.2-1

for you to fetch changes up to ee296d7c5709440f8abd36b5b65c6b3e388538d9:

  locks: inline posix_lock_file_wait and flock_lock_file_wait (2015-07-13 06:29:11 -0400)

----------------------------------------------------------------
File locking related changes for v4.2 (pile #1)

I had thought that I was going to get away without a pull request this
cycle. There was a NFSv4 file locking problem that cropped up that I
tried to fix in the NFSv4 code alone, but that fix has turned out to be
problematic. These patches fix this in the correct way.

Note that this touches some NFSv4 code as well. Ordinarily I'd wait for
Trond to ACK this, but he's on holiday right now and the bug is rather
nasty. So I suggest we merge this and if he raises issues with it we
can sort it out when he gets back.

----------------------------------------------------------------
Jeff Layton (5):
      Revert "nfs: take extra reference to fl->fl_file when running a LOCKU operation"
      locks: have flock_lock_file take an inode pointer instead of a filp
      locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait
      nfs4: have do_vfs_lock take an inode pointer
      locks: inline posix_lock_file_wait and flock_lock_file_wait

 fs/locks.c         | 38 ++++++++++++++++++--------------------
 fs/nfs/nfs4proc.c  | 18 ++++++++----------
 include/linux/fs.h | 30 ++++++++++++++++++++----------
 3 files changed, 46 insertions(+), 40 deletions(-)


-- 
Jeff Layton <jlayton@poochiereds.net>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] please pull file-locking related changes for v4.2
  2015-07-13 10:45 [GIT PULL] please pull file-locking related changes for v4.2 Jeff Layton
@ 2015-07-13 13:38 ` J. Bruce Fields
  2015-07-14 17:05   ` Dan Williams
  2015-07-14 17:15 ` Anna Schumaker
  1 sibling, 1 reply; 4+ messages in thread
From: J. Bruce Fields @ 2015-07-13 13:38 UTC (permalink / raw)
  To: Jeff Layton
  Cc: Linus Torvalds, linux-fsdevel, linux-kernel, trond.myklebust,
	Anna.Schumaker

On Mon, Jul 13, 2015 at 06:45:32AM -0400, Jeff Layton wrote:
> The following changes since commit b9243b5a5d2da4eb0a54950f4e2d6272863b48be:
> 
>   Merge branch 'parisc-4.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2015-07-10 16:54:37 -0700)
> 
> are available in the git repository at:
> 
>   git://git.samba.org/jlayton/linux.git tags/locks-v4.2-1
> 
> for you to fetch changes up to ee296d7c5709440f8abd36b5b65c6b3e388538d9:
> 
>   locks: inline posix_lock_file_wait and flock_lock_file_wait (2015-07-13 06:29:11 -0400)
> 
> ----------------------------------------------------------------
> File locking related changes for v4.2 (pile #1)
> 
> I had thought that I was going to get away without a pull request this
> cycle. There was a NFSv4 file locking problem that cropped up that I
> tried to fix in the NFSv4 code alone, but that fix has turned out to be
> problematic. These patches fix this in the correct way.
> 
> Note that this touches some NFSv4 code as well. Ordinarily I'd wait for
> Trond to ACK this, but he's on holiday right now and the bug is rather
> nasty. So I suggest we merge this and if he raises issues with it we
> can sort it out when he gets back.

Sounds reasonable to me.

(And without this my regular NFS testing crashes the client every time.)

--b.

> 
> ----------------------------------------------------------------
> Jeff Layton (5):
>       Revert "nfs: take extra reference to fl->fl_file when running a LOCKU operation"
>       locks: have flock_lock_file take an inode pointer instead of a filp
>       locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait
>       nfs4: have do_vfs_lock take an inode pointer
>       locks: inline posix_lock_file_wait and flock_lock_file_wait
> 
>  fs/locks.c         | 38 ++++++++++++++++++--------------------
>  fs/nfs/nfs4proc.c  | 18 ++++++++----------
>  include/linux/fs.h | 30 ++++++++++++++++++++----------
>  3 files changed, 46 insertions(+), 40 deletions(-)
> 
> 
> -- 
> Jeff Layton <jlayton@poochiereds.net>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] please pull file-locking related changes for v4.2
  2015-07-13 13:38 ` J. Bruce Fields
@ 2015-07-14 17:05   ` Dan Williams
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Williams @ 2015-07-14 17:05 UTC (permalink / raw)
  To: J. Bruce Fields
  Cc: Jeff Layton, Linus Torvalds, linux-fsdevel,
	Linux Kernel Mailing List, trond.myklebust, Anna.Schumaker

On Mon, Jul 13, 2015 at 6:38 AM, J. Bruce Fields <bfields@fieldses.org> wrote:
> On Mon, Jul 13, 2015 at 06:45:32AM -0400, Jeff Layton wrote:
>> The following changes since commit b9243b5a5d2da4eb0a54950f4e2d6272863b48be:
>>
>>   Merge branch 'parisc-4.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2015-07-10 16:54:37 -0700)
>>
>> are available in the git repository at:
>>
>>   git://git.samba.org/jlayton/linux.git tags/locks-v4.2-1
>>
>> for you to fetch changes up to ee296d7c5709440f8abd36b5b65c6b3e388538d9:
>>
>>   locks: inline posix_lock_file_wait and flock_lock_file_wait (2015-07-13 06:29:11 -0400)
>>
>> ----------------------------------------------------------------
>> File locking related changes for v4.2 (pile #1)
>>
>> I had thought that I was going to get away without a pull request this
>> cycle. There was a NFSv4 file locking problem that cropped up that I
>> tried to fix in the NFSv4 code alone, but that fix has turned out to be
>> problematic. These patches fix this in the correct way.
>>
>> Note that this touches some NFSv4 code as well. Ordinarily I'd wait for
>> Trond to ACK this, but he's on holiday right now and the bug is rather
>> nasty. So I suggest we merge this and if he raises issues with it we
>> can sort it out when he gets back.
>
> Sounds reasonable to me.
>
> (And without this my regular NFS testing crashes the client every time.)

+1 to this series fixing a 100% reproducible slab corruption + general
protection fault in my nfs-root test environment.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] please pull file-locking related changes for v4.2
  2015-07-13 10:45 [GIT PULL] please pull file-locking related changes for v4.2 Jeff Layton
  2015-07-13 13:38 ` J. Bruce Fields
@ 2015-07-14 17:15 ` Anna Schumaker
  1 sibling, 0 replies; 4+ messages in thread
From: Anna Schumaker @ 2015-07-14 17:15 UTC (permalink / raw)
  To: Jeff Layton, Linus Torvalds
  Cc: linux-fsdevel, linux-kernel, J. Bruce Fields, trond.myklebust

Hey Jeff,

On 07/13/2015 06:45 AM, Jeff Layton wrote:
> The following changes since commit b9243b5a5d2da4eb0a54950f4e2d6272863b48be:
> 
>   Merge branch 'parisc-4.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2015-07-10 16:54:37 -0700)
> 
> are available in the git repository at:
> 
>   git://git.samba.org/jlayton/linux.git tags/locks-v4.2-1
> 
> for you to fetch changes up to ee296d7c5709440f8abd36b5b65c6b3e388538d9:
> 
>   locks: inline posix_lock_file_wait and flock_lock_file_wait (2015-07-13 06:29:11 -0400)
> 
> ----------------------------------------------------------------
> File locking related changes for v4.2 (pile #1)
> 
> I had thought that I was going to get away without a pull request this
> cycle. There was a NFSv4 file locking problem that cropped up that I
> tried to fix in the NFSv4 code alone, but that fix has turned out to be
> problematic. These patches fix this in the correct way.
> 
> Note that this touches some NFSv4 code as well. Ordinarily I'd wait for
> Trond to ACK this, but he's on holiday right now and the bug is rather
> nasty. So I suggest we merge this and if he raises issues with it we
> can sort it out when he gets back.

This looks reasonable to me, especially since Bruce and Dane have commented that it fixes their bugs.  Is my acked-by good enough?  :)

Acked-by: Anna Schumaker <Anna.Schumaker@Netapp.com>

> 
> ----------------------------------------------------------------
> Jeff Layton (5):
>       Revert "nfs: take extra reference to fl->fl_file when running a LOCKU operation"
>       locks: have flock_lock_file take an inode pointer instead of a filp
>       locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait
>       nfs4: have do_vfs_lock take an inode pointer
>       locks: inline posix_lock_file_wait and flock_lock_file_wait
> 
>  fs/locks.c         | 38 ++++++++++++++++++--------------------
>  fs/nfs/nfs4proc.c  | 18 ++++++++----------
>  include/linux/fs.h | 30 ++++++++++++++++++++----------
>  3 files changed, 46 insertions(+), 40 deletions(-)
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-14 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 10:45 [GIT PULL] please pull file-locking related changes for v4.2 Jeff Layton
2015-07-13 13:38 ` J. Bruce Fields
2015-07-14 17:05   ` Dan Williams
2015-07-14 17:15 ` Anna Schumaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).