Re: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read()

2020-05-26 Thread Johannes Weiner
On Tue, May 26, 2020 at 01:51:16PM -0600, Jens Axboe wrote: > Use the async page locking infrastructure, if IOCB_WAITQ is set in the > passed in iocb. The caller must expect an -EIOCBQUEUED return value, > which means that IO is started but not done yet. This is similar to how > O_DIRECT signals th

Re: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read()

2020-05-24 Thread Jens Axboe
On 5/24/20 11:11 AM, Trond Myklebust wrote: > On Sun, 2020-05-24 at 10:40 -0600, Jens Axboe wrote: >> On 5/24/20 10:30 AM, Jens Axboe wrote: >>> On 5/24/20 8:05 AM, Trond Myklebust wrote: On Sat, 2020-05-23 at 12:57 -0600, Jens Axboe wrote: > Use the async page locking infrastructure, if I

Re: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read()

2020-05-24 Thread Trond Myklebust
On Sun, 2020-05-24 at 10:40 -0600, Jens Axboe wrote: > On 5/24/20 10:30 AM, Jens Axboe wrote: > > On 5/24/20 8:05 AM, Trond Myklebust wrote: > > > On Sat, 2020-05-23 at 12:57 -0600, Jens Axboe wrote: > > > > Use the async page locking infrastructure, if IOCB_WAITQ is set > > > > in > > > > the > >

Re: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read()

2020-05-24 Thread Jens Axboe
On 5/24/20 10:30 AM, Jens Axboe wrote: > On 5/24/20 8:05 AM, Trond Myklebust wrote: >> On Sat, 2020-05-23 at 12:57 -0600, Jens Axboe wrote: >>> Use the async page locking infrastructure, if IOCB_WAITQ is set in >>> the >>> passed in iocb. The caller must expect an -EIOCBQUEUED return value, >>> whi

Re: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read()

2020-05-24 Thread Jens Axboe
On 5/24/20 8:05 AM, Trond Myklebust wrote: > On Sat, 2020-05-23 at 12:57 -0600, Jens Axboe wrote: >> Use the async page locking infrastructure, if IOCB_WAITQ is set in >> the >> passed in iocb. The caller must expect an -EIOCBQUEUED return value, >> which means that IO is started but not done yet.

Re: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read()

2020-05-24 Thread Trond Myklebust
On Sat, 2020-05-23 at 12:57 -0600, Jens Axboe wrote: > Use the async page locking infrastructure, if IOCB_WAITQ is set in > the > passed in iocb. The caller must expect an -EIOCBQUEUED return value, > which means that IO is started but not done yet. This is similar to > how > O_DIRECT signals the s