[lkml]   [2010]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] reiserfs fixes
Frederic Weisbecker <> writes:
> That's why you'll mostly find dependency inversion fixes based on
> such pattern:
> reiserfs_write_unlock()
> mutex_lock(random_lock)
> reiserfs_write_lock()

These `workarounds' look rather ugly and are likely much slower
than the BKL that was there before. Perhaps it's better to simply
go back to the BKL until this can be all fixed properly
(or a more faithful emulation for the BKL can be devised)?

> This is not beautiful but at least that's better than the bkl.
> Oh and I expect other lock inversions will get reported in
> the future due to rare and then yet untested paths.

... and given that was the conversion really a good idea?


-- -- Speaking for myself only.

 \ /
  Last update: 2010-01-02 14:45    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean