![](https://seccdn.libravatar.org/avatar/37ce46f3bb7af09b1da428d24b87bd4a.jpg?s=120&d=mm&r=g)
On Thu, Mar 17, 2016 at 7:47 AM, Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2016-03-17 14:38, Anton Aylward wrote:
Originally I liked BtrFS, I saw it as whet we might have instead of Reiser4; a couple of years on I'm disappointed.
If you do a test to see if btrfs will handle files that reiserfs would handle, you probably will crash the filesystem (beyond repair) and the kernel.
Try to create some million files in the same directory (the number depends on the size of the partition). When I did, some time ago, the kernel crashed, and the filesystem corrupted. It was impossible to repair, it needed a format. And before crashing it was going very slow.
Reiserfs has no problem with that load.
ext4 will simply refuse at some point, but no crash.
XFS I don't remember. I think it filled up, but much later than ext4.
A million files in one dir is a strange load, yes, but I wanted to test if btrfs would be comparable to reiserfs, and it is not. A mail server using maildir, or an nntp server, impose that kind of load.
(there is an unsolved bugzilla, IIRC).
# printf '%s ' {1..1000000} | xargs touch Less than one minute, no complaints. Takes longer to rm -rf. If I do it in a subvolume, 'btrfs sub del' returns immediately (the cleaner takes care of it later). One million files was passé 5 years ago when this presentation was done: http://events.linuxfoundation.org/slides/2010/linuxcon2010_wheeler.pdf But even in 2010 btrfs was doing one million 50KiB file creation faster than ext4 or XFS (except on an SSD funny enough where it got beaten). But this ancient times. I'm not finding any one billion file tests. -- Chris Murphy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org