Re: file locks: Use wait_event_interruptible_timeout()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Wilcox <matthew@...>
Cc: Oleg Drokin <Oleg.Drokin@...>, <linux-fsdevel@...>
Date: Tuesday, January 15, 2008 - 10:48 am

On Mon, Jan 14, 2008 at 09:28:30PM -0700, Matthew Wilcox wrote:

Makes sense, thanks.  So the assumption we were depending on the BKL for
was that we could count on the wake-up not coming till after we block,
so we could skip a check ->fl_next that's normally needed to resolve the
usual sleeping-on-some-condition race?

--b.

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Leak in nlmsvc_testlock for async GETFL case, Oleg Drokin, (Thu Nov 29, 2:46 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Felix Blyakher, (Mon Dec 3, 1:00 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Oleg Drokin, (Mon Dec 3, 1:49 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, J. Bruce Fields, (Thu Nov 29, 3:08 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Oleg Drokin, (Fri Jan 11, 10:57 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, J. Bruce Fields, (Mon Jan 14, 4:44 pm)
Re: Leak in nlmsvc_testlock for async GETFL case, Matthew Wilcox, (Tue Jan 15, 12:26 am)
Re: Leak in nlmsvc_testlock for async GETFL case, J. Bruce Fields, (Tue Jan 15, 10:42 am)
file locks: Split flock_find_conflict out of flock_lock_file, Matthew Wilcox, (Tue Jan 15, 12:29 am)
file locks: Use wait_event_interruptible_timeout(), Matthew Wilcox, (Tue Jan 15, 12:28 am)
Re: file locks: Use wait_event_interruptible_timeout(), J. Bruce Fields, (Tue Jan 15, 10:48 am)
Re: file locks: Use wait_event_interruptible_timeout(), Matthew Wilcox, (Tue Jan 15, 11:04 am)
Re: file locks: Use wait_event_interruptible_timeout(), J. Bruce Fields, (Tue Jan 15, 2:54 pm)