User: Password:
Subscribe / Log in / New account

A nasty file corruption bug - fixed

A nasty file corruption bug - fixed

Posted Jan 2, 2007 23:02 UTC (Tue) by dlang (subscriber, #313)
In reply to: A nasty file corruption bug - fixed by flewellyn
Parent article: A nasty file corruption bug - fixed

at some point you still need a pointer to each disk block of data, and that is what the bh is supposed to be used for (per Linus).

there are several good reasons for not just going in and changeing all filesystems to not use them for flushing

1. not everyone agrees with Linus (Andrew M for example)

2. it would be a very invasive set of changes to the filesystems, which would introduce their own risk of new bugs.

3. many people who agree with Linus that bh should not be used for flushing are also not sure of exactly what should be done to eliminate this (and how much of the new code should be filesystem neutral and how much should be specific to each filesystem)

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds