Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1304706
| From | "J. Bruce Fields" <bfields@fieldses.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/6] locks: fix unlock when fcntl_setlk races with a close |
| Date | 2016-01-08 17:30 +0100 |
| Message-ID | <qOI5k-LF-3@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <qOFKa-7uJ-1@gated-at.bofh.it> <qOHCk-kf-57@gated-at.bofh.it> <qOHVE-HA-7@gated-at.bofh.it> <qOI5k-LF-5@gated-at.bofh.it> <qOI5k-LF-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 08, 2016 at 11:22:04AM -0500, J. Bruce Fields wrote: > On Fri, Jan 08, 2016 at 11:21:01AM -0500, J. Bruce Fields wrote: > > Yeah. I almost think an OK iterim solution would be just to document > > the race in the appropriate man page and tell people that if they really > > want to use posix locks in an application with lots of threads sharing > > file descriptors then they should consider OFD locks. > > (Especially if this race has always existed.) Oh but note I'm only talking about this additional race that you've identified. I agree that the problem addressed by these patches need fixing, and gave them a quick read and they look OK to me--feel free to add my ACK. --b.
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