lkml.org 
[lkml]   [2008]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Device loses barrier support (was: Fixed patch for simple barriers.)
On Fri, Dec 05, 2008 at 07:21:06PM +0100, Bodo Eggert wrote:
> Andi Kleen <andi@firstfloor.org> wrote:
>
> >> Not when the fundamental design of the code is broken and trashes
> >> performance.
> >
> > Sorry but that's just not correct. There's nothing in late failing
> > barriers that "trashes performance". The file system writers have
> > to be careful to handle it, but at least the current ones all do.
>
> So let's keep requiring the "trashes performance" hacks, because they're

Again there's nothing about the code that handles this that
"trashes performance".

Mickulas was just ranting that the current file systems don't use
barriers in the way he thinks they ought to be used, but that
is completely orthogonal to the problem if barriers may fail
late or not.

In Mickulas imaginary barrier world it would be slightly more
complicated to handle it, but far from impossible. And again
if there it wouldn't affect performance. In the real world
Linux barrier world handling late failing barriers in the fs
is also very easy currently.

-Andi



\
 
 \ /
  Last update: 2008-12-05 19:33    [W:0.240 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site