Re: [PATCH 13/36] fs: introduce new ->get_poll_head and ->poll_mask methods

2018-03-20 Thread Christoph Hellwig
On Mon, Mar 19, 2018 at 08:29:38PM -0700, Darrick J. Wong wrote: > On Mon, Mar 05, 2018 at 01:27:20PM -0800, Christoph Hellwig wrote: > > ->get_poll_head returns the waitqueue that the poll operation is going > > to sleep on. Note that this means we can only use a single waitqueue > > for the

Re: [PATCH 13/36] fs: introduce new ->get_poll_head and ->poll_mask methods

2018-03-19 Thread Darrick J. Wong
On Mon, Mar 05, 2018 at 01:27:20PM -0800, Christoph Hellwig wrote: > ->get_poll_head returns the waitqueue that the poll operation is going > to sleep on. Note that this means we can only use a single waitqueue > for the poll, unlike some current drivers that use two waitqueues for > different

[PATCH 13/36] fs: introduce new ->get_poll_head and ->poll_mask methods

2018-03-05 Thread Christoph Hellwig
->get_poll_head returns the waitqueue that the poll operation is going to sleep on. Note that this means we can only use a single waitqueue for the poll, unlike some current drivers that use two waitqueues for different events. But now that we have keyed wakeups and heavily use those for poll

[PATCH 13/36] fs: introduce new ->get_poll_head and ->poll_mask methods

2018-01-22 Thread Christoph Hellwig
->get_poll_head returns the waitqueue that the poll operation is going to sleep on. Note that this means we can only use a single waitqueue for the poll, unlike some current drivers that use two waitqueues for different events. But now that we have keyed wakeups and heavily use those for poll

[PATCH 13/36] fs: introduce new ->get_poll_head and ->poll_mask methods

2018-01-17 Thread Christoph Hellwig
->get_poll_head returns the waitqueue that the poll operation is going to sleep on. Note that this means we can only use a single waitqueue for the poll, unlike some current drivers that use two waitqueues for different events. But now that we have keyed wakeups and heavily use those for poll