Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

From
Jeremy Allison <hidden>
Date
2015-03-30 20:32:27
Also in
linux-arch, linux-fsdevel, lkml
Reply to
Andrew Morton, 2015-03-30
On Mon, Mar 30, 2015 at 01:26:25PM -0700, Andrew Morton wrote:
cons:

d) fincore() is more expensive

e) fincore() will very occasionally block
The above is the killer for Samba. If fincore
returns true but when we schedule the pread
we block, we're hosed.

Once we block, we're done serving clients on the main
thread until this returns. That can cause unpredictable
response times which can cause client timeouts.

A fincore+pread solution that blocks is simply unsafe
to use for us. We'll have to stay with the threadpool :-(.
And I don't believe that e) will be a problem in the real world.  It's
a significant increase in worst-case latency and a negligible increase
in average latency.  I've asked at least three times for someone to
explain why this is unacceptable and no explanation has been provided.
See above.
Thread (21 messages) 21 messages, 6 authors, 2015-04-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help