On Sun 17-09-23 12:45:30, Linus Torvalds wrote: > Because yes, buffer heads _are_ old and overly simplistic. And I don't > really disagree with people who don't want to extend on them any more. > There are better models. > > I think buffer heads are great for one thing, and really one thing > only: legacy use cases. > > So I don't think it should be a shock to anybody that most of the > listed filesystems are random old legacy cases (or related to such - > exfat). > > But "old" does not mean "bad". And legacy in many ways is worth > cherishing. It needs to become a whole lot more painful than buffer > heads have ever been to be a real issue. I agree. On the other hand each filesystem we carry imposes some maintenance burden (due to tree wide changes that are happening) and the question I have for some of them is: Do these filesystems actually bring any value? I.e., are there still any users left? Sadly that's quite difficult to answer so people do bother only if the pain is significant enough like in the case of reiserfs. But I suspect we could get rid of a few more without a real user complaining (e.g. Shaggy said he'd be happy to deprecate JFS and he's not aware of any users). > It is in fact somewhat telling that of that list of odds and ends > there was *one* filesystem that was mentioned in this thread that is > actively being deprecated (and happens to use buffer heads). > > And that filesystem has been explicitly not maintained, and is being > deprecated partly exactly because it is the opposite of cherished. So > the pain isn't worth it. > > All largely for some rather obvious non-technical reasons. > > So while reiserfs was mentioned as some kind of "good model for > deprecation", let's be *real* here. The reason nobody wants to have > anything to do with reiserfs is that Hans Reiser murdered his wife. Well, I agree that's (consciously or unconsciously) the non-technical part of the reason. But there's also a technical one. Since Hans' vision how things should be didn't always match how the rest of the VFS was designed, reiserfs has accumulated quite some special behavior which is very easy to break. And because reiserfs testing is non-existent, entrusting your data to reiserfs is more and more a Russian roulette kind of gamble. So the two existing reiserfs users that contacted me after announcing reiserfs deprecation both rather opted for migrating to some other filesystem. > And I really *really* hope nobody takes that to heart as a good model > for filesystem deprecation. LOL :). Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR