Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1361192
| From | Linus Torvalds <torvalds@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: aio openat Re: [PATCH 07/13] aio: enabled thread based async fsync |
| Date | 2016-03-20 02:30 +0100 |
| Message-ID | <reAlP-852-5@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <qT7Rv-3iq-1@gated-at.bofh.it> <qT8Nz-3TE-13@gated-at.bofh.it> <qTYj8-5TC-15@gated-at.bofh.it> <qTYj8-5TC-13@gated-at.bofh.it> <rcEjT-6Ns-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Mar 14, 2016 at 10:17 AM, Benjamin LaHaise <bcrl@kvack.org> wrote:
>
> I had some time last week to make an aio openat do what it can in
> submit context. The results are an improvement: when openat is handled
> in submit context it completes in about half the time it takes compared
> to the round trip via the work queue, and it's not terribly much code
> either.
This looks good to me, and I do suspect that any of these aio paths
should strive to have a synchronous vs threaded model. I think that
makes the whole thing much more interesting from a performance
standpoint.
I still think the aio interface is really nasty, but this together
with the table-based approach you posted earlier does make me a _lot_
happier about the implementation.It just looks way less hacky, and now
it ends up exposing a rather more clever implementation too.
Linus
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: aio openat Re: [PATCH 07/13] aio: enabled thread based async fsync Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-20 02:30 +0100
Re: aio openat Re: [PATCH 07/13] aio: enabled thread based async fsync Al Viro <viro@ZenIV.linux.org.uk> - 2016-03-20 02:30 +0100
Re: aio openat Re: [PATCH 07/13] aio: enabled thread based async fsync Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-20 02:50 +0100
Re: aio openat Re: [PATCH 07/13] aio: enabled thread based async fsync Al Viro <viro@ZenIV.linux.org.uk> - 2016-03-20 03:00 +0100
Re: aio openat Re: [PATCH 07/13] aio: enabled thread based async fsync Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-20 03:10 +0100
csiph-web