Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1304561
| From | Jeff Layton <jlayton@poochiereds.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/6] locks: better debugging and fix for setlk/close race handling |
| Date | 2016-01-08 15:00 +0100 |
| Message-ID | <qOFKa-7uJ-3@gated-at.bofh.it> (permalink) |
| References | <qOuYq-8uq-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The first patch in this patchset fixes a very long-standing bug in the handling of races between setlk and close. That one should be appropriate for all stable kernels and should apply to most kernels as-is. The second patch exempts OFD locks from setlk/close race handling since they shouldn't need it anyway. The rest of the patches add some better debugging for these problems and do a little function name cleanup. I'm planning to go ahead and put these into linux-next today and send them to Linus for the 4.5 merge, unless there are any objections... Jeff Layton (6): locks: fix unlock when fcntl_setlk races with a close locks: don't check for race with close when setting OFD lock locks: sprinkle some tracepoints around the file locking code locks: pass inode pointer to locks_free_lock_context locks: prink more detail when there are leaked locks locks: rename __posix_lock_file to posix_lock_inode fs/inode.c | 2 +- fs/locks.c | 123 +++++++++++++++++++++++++++------------- include/linux/fs.h | 4 +- include/trace/events/filelock.h | 77 +++++++++++++++++++++++++ 4 files changed, 165 insertions(+), 41 deletions(-) -- 2.5.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] locks: fix unlock when fcntl_setlk races with a close Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 03:30 +0100
Re: [PATCH] locks: fix unlock when fcntl_setlk races with a close Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 13:50 +0100
Re: [PATCH] locks: fix unlock when fcntl_setlk races with a close "J. Bruce Fields" <bfields@fieldses.org> - 2016-01-08 17:20 +0100
[PATCH v2 1/6] locks: fix unlock when fcntl_setlk races with a close Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 15:00 +0100
Re: [PATCH v2 1/6] locks: fix unlock when fcntl_setlk races with a close "J. Bruce Fields" <bfields@fieldses.org> - 2016-01-08 17:00 +0100
Re: [PATCH v2 1/6] locks: fix unlock when fcntl_setlk races with a close Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 17:20 +0100
Re: [PATCH v2 1/6] locks: fix unlock when fcntl_setlk races with a close "J. Bruce Fields" <bfields@fieldses.org> - 2016-01-08 17:30 +0100
Re: [PATCH v2 1/6] locks: fix unlock when fcntl_setlk races with a close "J. Bruce Fields" <bfields@fieldses.org> - 2016-01-08 17:30 +0100
Re: [PATCH v2 1/6] locks: fix unlock when fcntl_setlk races with a close "J. Bruce Fields" <bfields@fieldses.org> - 2016-01-08 17:30 +0100
[PATCH v2 4/6] locks: pass inode pointer to locks_free_lock_context Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 15:00 +0100
[PATCH v2 0/6] locks: better debugging and fix for setlk/close race handling Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 15:00 +0100
[PATCH v2 6/6] locks: rename __posix_lock_file to posix_lock_inode Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 15:00 +0100
[PATCH v2 5/6] locks: prink more detail when there are leaked locks Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 15:00 +0100
[PATCH v2 3/6] locks: sprinkle some tracepoints around the file locking code Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 15:00 +0100
[PATCH v2 2/6] locks: don't check for race with close when setting OFD lock Jeff Layton <jlayton@poochiereds.net> - 2016-01-08 15:10 +0100
csiph-web