TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Is it time to remove reiserfs?

158 点作者 thestoicattack大约 3 年前

17 条评论

cestith大约 3 年前
Personally I&#x27;ve always really liked ReiserFS. The collected storage of small files, the storage of the tails of files, the balanced tree structure, and the fast journaling gave better performance in reads, writes, boot time, and storage efficiency than most file systems. The focus on small files, which were and arguably still are most files on a typical system, was a big key to this. It made it ideal for storing things like configuration files, email in maildir format, email spools, version control repositories, source directories, and many executables. The logical successor was supposed to be btrfs, but that project IMHO may never be ready for production use.<p>All that said, if it&#x27;s hurting kernel development and almost nobody is using it, perhaps a deprecation cycle is due. Maybe bcachefs is a good replacement? Or perhaps nobody cares about efficiently storing small files these days at all, and we just all go to XFS, ext4, and ZFS. I think dropping it during a short period is detrimental to users. Maybe a two or three version warning is due.
评论 #30442121 未加载
评论 #30442219 未加载
评论 #30442871 未加载
评论 #30442040 未加载
marginalia_nu大约 3 年前
ReiserFS does have its benefits in highly specific use-cases.<p>I have a filesystem with an <i>absurd</i> number of tiny files in it. I host a statically rendered wikipedia mirror. Tens of millions of gzipped html-files with a filesize in the range 1-5 Kb.<p>ReiserFS is the only filesystem I know that deals even the slightest bit gracefully with this thanks to tail-packing.
评论 #30441884 未加载
评论 #30442132 未加载
评论 #30442863 未加载
评论 #30441877 未加载
评论 #30441895 未加载
评论 #30441898 未加载
评论 #30441922 未加载
评论 #30446633 未加载
评论 #30443385 未加载
评论 #30442694 未加载
评论 #30442667 未加载
评论 #30442014 未加载
codazoda大约 3 年前
&gt; NB: Please don&#x27;t discuss the personalities involved.<p>Ah, but that&#x27;s all I can think about when I read about reiserfs. For anyone who is unaware, the author, Hans Reiser, killed his wife and hid her body. There was a long and public investigation and he was found guilty. He later produced her body as part of a plea deal.
评论 #30442242 未加载
评论 #30443387 未加载
评论 #30442905 未加载
评论 #30442161 未加载
评论 #30443174 未加载
shaky-carrousel大约 3 年前
&gt; There don&#x27;t seem to be any fixes for user-spotted bugs since 2019. Does reiserfs still have a large install base that is just very happy with an old stable filesystem? Or have all its users migrated to new and exciting filesystems with active feature development?<p>Data loss bugs sure sound exciting, but I&#x27;m old, and stable, and I prefer my file systems like myself.
评论 #30442490 未加载
评论 #30443296 未加载
Frost1x大约 3 年前
ReiserFS is a conversational litmus test I like to casually and indirectly name drop in technical interview discussions surrounding the world of Linux, file systems, and storage to fish and see if someone actually had been actively working in the domain circa 2000ish when there was a lot of hype and criticism bubbling surrounding performance with large sets of small files.<p>Admittedly, it&#x27;s not a great signal if the candidate hadn&#x27;t heard of it or used it depending on their career length because plenty avoided it and happily lived in other FS worlds or avoided certain hype, but it&#x27;s a fairly good positive signal if someone actually starts talking about it knowledgably in some way regardless of it on positive or critical notes--just have to keep survivorship and confirmation biases actively in mind when weighing these things.
评论 #30442491 未加载
评论 #30442536 未加载
评论 #30442380 未加载
madphilosopher大约 3 年前
ReiserFS is my favourite Linux filesystem. I use it where most people just use the default ext4. I was originally attracted to it for the large-number-of-small-files support it had.<p>I appreciate the ability to shrink&#x2F;grow an existing ReiserFS, which I do often enough as I add new storage to my LVM layouts.<p>I have never lost a ReiserFS filesystem due to corruption, so the tooling seems sufficient for me.<p>I hope it stays in the kernel for a long time.
DocTomoe大约 3 年前
ReiserFS is a lesson in project naming.<p>When I started in Linux full-time, back in the early 2000s, I was presented with different fs options - the installer did not give me any information on benefits, or on which ones were considered &quot;stable&quot;. ext2 was available, but it also had a built-in version number, and I feared that once ext3 eventually rolled over, it might be incompatible. So I chose the fs that came with a name attached: ReiserFS. If someone was willing to attach their name to their code, I figured, that must be some quality code.<p>ReiserFS served me well, even though it always was a system lurking in the background. I was not a storage specialist. I was just a guy doing work on a Linux desktop, and ReiserFS &quot;just worked&quot;. Occassionally, I put in a new disk, and watched the progression of other fs. Eventually, I switched over to ReiserFSv4.<p>Fast forward a few years, and the whole murder thing happens. Immediately the thing that made ReiserFS stand out for me becomes radioactive - the name is burnt. And I see distros slowly phasing out advertising the option of having a ReiserFS partition. Yes, it was still there when you searched for it, but it didn&#x27;t feature prominently in the installers anymore. And it is obvious that the code becomes stale - arguably understandable, who would do OSS work on code that is branded the name of a murderer?<p>Twenty years later, I am still a Linux user. The last ReiserFS disk got shredded a year ago. Feels like the end of an era.<p>Lessons learned: Naming matters. If you attach your name to something and want that project to survive, maybe do not commit violent crimes.
评论 #30442078 未加载
评论 #30442055 未加载
评论 #30441955 未加载
评论 #30442606 未加载
评论 #30442113 未加载
评论 #30444636 未加载
评论 #30442492 未加载
fest大约 3 年前
What other filesystems have checksums for data? Last time I looked, after a silent SSD failure that I only noticed because some .so files were affected, the only options were btrfs and reiserfs (I think ZFS required a custom kernel at that time).<p>The incident was really eye-opening in how fragile was my data: if .so files were not affected, I would have continued to use the system and erroneous data would silently be propagated to backups.
评论 #30442472 未加载
评论 #30442853 未加载
评论 #30442826 未加载
indymike大约 3 年前
ReiserFS has been stable for a long time, and especially useful for spinning metal disks that need to store lots and lots of small files. Not sure that there is a modern replacement that will be able to do this well.
评论 #30443254 未加载
Andrew_nenakhov大约 3 年前
I, for one, don&#x27;t understand why can&#x27;t they give Hans a computer and an internet connection and allow him to work on some open-source project.
评论 #30443179 未加载
评论 #30442968 未加载
评论 #30444948 未加载
tombert大约 3 年前
Maybe someone with more understanding of kernel development could explain things to me.<p>Does there have to be explicit kernel-level support to support a filesystem? Even if they remove support, does that stop anyone from releasing a kernel module and supporting it?
评论 #30442293 未加载
评论 #30443351 未加载
评论 #30442282 未加载
captainmuon大约 3 年前
I wonder, how does the principle of not breaking userspace mesh with removing of file systems or drivers?<p>I think some of the published cases where userspace would have been &quot;broken&quot; and Linus got angry were fairly minor, as in you might not even need to fix the software, the user just has to be aware of different defaults. Whereas updating a kernel to a version where the filesystem is not supported will definitely render the installation unusable.
评论 #30442334 未加载
debug-desperado大约 3 年前
According to wikipedia Hans might be out on parole next year. As part of his release agreement he should be required to maintain his namesake filesystem.
joecool1029大约 3 年前
Can we just swap it for reiser4&#x2F;5? It&#x27;s only got a few people working on it but the FS is faster, has a plugin system for compression and other features, and is all-around just better. Call it shiskinfs if the name is problematic.<p>If paragon can get their cribbed together ntfs driver included in mainline then why can&#x27;t reiser4 get merged?
anxrn大约 3 年前
I presume by personality they&#x27;re referring to Hans Reiser, the creator of ReiserFS, also a convicted murderer.<p>Past HN thread: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2131221" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2131221</a>
评论 #30441828 未加载
评论 #30441857 未加载
bjourne大约 3 年前
Implicit in Wilcox e-mail is the claim that there is a non-trivial <i>cost</i> of keeping reiserfs <i>even when it is not being updated</i>. Cost of keeping resierfs in the kernel &gt; Cost of removing it. A filesystem is like a plugin for the kernel. In theory, it doesn&#x27;t care what filesystem you use because it only access it using a common plugin interface. So keeping reiserfs in the kernel should cost 0. In practice, the cost is higher. Young developers often don&#x27;t understand that. Plugins, extensions, modules, backends, what have you, no matter how great the extension mechanism is, you can&#x27;t completely eliminate the costs.
评论 #30444497 未加载
jordigh大约 3 年前
&quot;WE DO NOT BREAK USERSPACE&quot;<p><a href="https:&#x2F;&#x2F;lkml.org&#x2F;lkml&#x2F;2012&#x2F;12&#x2F;23&#x2F;75" rel="nofollow">https:&#x2F;&#x2F;lkml.org&#x2F;lkml&#x2F;2012&#x2F;12&#x2F;23&#x2F;75</a><p>I was surprised to see that Linux <i>has</i> in fact removed other filesystems in the past (and I had to look up the word &quot;senescent&quot;).<p>So the real news to me here is that a somewhat &quot;major&quot; break in userspace is being considered.<p>Sure, ReiserFS might not be getting a lot of new installs, but the fact that people have submitted fixes to it within the past few years means it has some. There are installs of it out there. Wilcox is considering breaking userspace for some users.<p>Linux is famous, <i>famous</i> for keeping backwards compatibility for almost everything forever. The stories of Linux backwards compat are up there with stories of Windows still supporting AUX and CON and other special file names. Is &quot;WE DO NOT BREAK USERSPACE&quot; still worthy enough to be shouted at the top of your email lungs?
评论 #30442373 未加载
评论 #30442355 未加载
评论 #30443992 未加载
评论 #30446618 未加载
评论 #30442642 未加载