Skip to contentSkip to conversation

please pull file-locking related changes for v4.2

GIT PULL Jeff Layton 4 participants 4 messages Jul 13, 2015 – Jul 14, 2015 VFS

lore
Share & tools
lore
#0 lore raw

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(-)
Signature · 1 line
Jeff Layton <[email protected]>
#1 lore raw
Quoted 20 lines · Jeff Layton

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.

Quoted 4 lines

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.

Quoted 17 lines

----------------------------------------------------------------
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(-)
Signature · 1 line
Jeff Layton <[email protected]>
#2 lore raw
Quoted 21 lines · J. Bruce Fields
Quoted 20 lines · Jeff Layton

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.

Quoted 8 lines
Quoted 4 lines

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.

#3 lore raw
In reply to Jeff Layton

Hey Jeff,

Quoted 20 lines · Jeff Layton

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.

Quoted 4 lines

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? :)

Quoted 15 lines

----------------------------------------------------------------
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(-)