Re: [PATCH 2/6] aio: remove an outdated comment in aio_complete

2018-03-28 Thread Matthew Wilcox
On Wed, Mar 28, 2018 at 09:26:35AM +0200, Christoph Hellwig wrote: > These days we don't treat sync iocbs special in the aio completion code as > they never use it. Remove the old comment and BUG_ON given that the > current definition of is_sync_kiocb makes it impossible to hit. > iocb to the top

Re: [PATCH 2/6] aio: remove an outdated comment in aio_complete

2018-03-28 Thread Matthew Wilcox
On Wed, Mar 28, 2018 at 09:26:35AM +0200, Christoph Hellwig wrote: > These days we don't treat sync iocbs special in the aio completion code as > they never use it. Remove the old comment and BUG_ON given that the > current definition of is_sync_kiocb makes it impossible to hit. > iocb to the top

Re: [PATCH 2/6] aio: remove an outdated comment in aio_complete

2018-03-28 Thread Darrick J. Wong
On Wed, Mar 28, 2018 at 09:26:35AM +0200, Christoph Hellwig wrote: > These days we don't treat sync iocbs special in the aio completion code as > they never use it. Remove the old comment and BUG_ON given that the > current definition of is_sync_kiocb makes it impossible to hit. > iocb to the top

Re: [PATCH 2/6] aio: remove an outdated comment in aio_complete

2018-03-28 Thread Darrick J. Wong
On Wed, Mar 28, 2018 at 09:26:35AM +0200, Christoph Hellwig wrote: > These days we don't treat sync iocbs special in the aio completion code as > they never use it. Remove the old comment and BUG_ON given that the > current definition of is_sync_kiocb makes it impossible to hit. > iocb to the top

[PATCH 2/6] aio: remove an outdated comment in aio_complete

2018-03-28 Thread Christoph Hellwig
These days we don't treat sync iocbs special in the aio completion code as they never use it. Remove the old comment and BUG_ON given that the current definition of is_sync_kiocb makes it impossible to hit. iocb to the top of the function. Signed-off-by: Christoph Hellwig ---

[PATCH 2/6] aio: remove an outdated comment in aio_complete

2018-03-28 Thread Christoph Hellwig
These days we don't treat sync iocbs special in the aio completion code as they never use it. Remove the old comment and BUG_ON given that the current definition of is_sync_kiocb makes it impossible to hit. iocb to the top of the function. Signed-off-by: Christoph Hellwig --- fs/aio.c | 9