|
|
Subscribe / Log in / New account

XFS still gets dorked with?

XFS still gets dorked with?

Posted Jan 25, 2011 9:48 UTC (Tue) by dgm (subscriber, #49227)
In reply to: XFS still gets dorked with? by dgc
Parent article: Kernel prepatch 2.6.38-rc2

Very nice to see XFS in good shape. But what I read in those statistics is slightly different.

Less lines were added to XFS than they were removed. That may mean code that's being heavily revisited, possible because it has languished somehow and is now being cleaned up?

Btrfs, on the other hand, adds far more lines that it removes, suggesting that its being developed and adding features at a fast pace. The difference in added lines between XFS and Btrfs is roughly 10%, not that much.

Finally, ext4 looks much more quiet. Adding features and fixing stuff here and there.

It would be nice to know the different sizes of each code base, but I assume they are comparable.


to post comments

XFS still gets dorked with?

Posted Jan 25, 2011 12:09 UTC (Tue) by cesarb (subscriber, #6266) [Link]

> It would be nice to know the different sizes of each code base, but I assume they are comparable.

$ sloccount fs/xfs
[...]
SLOC Directory SLOC-by-Language (Sorted)
47802 top_dir ansic=47802
11840 linux-2.6 ansic=11840
4628 quota ansic=4628
145 support ansic=145

Totals grouped by language (dominant language first):
ansic: 64415 (100.00%)
[...]

$ sloccount fs/btrfs
[...]
SLOC Directory SLOC-by-Language (Sorted)
46176 btrfs ansic=46148,sh=28

Totals grouped by language (dominant language first):
ansic: 46148 (99.94%)
sh: 28 (0.06%)
[...]

$ sloccount fs/ext4 fs/jbd2
[...]
SLOC Directory SLOC-by-Language (Sorted)
24465 ext4 ansic=24465
4597 jbd2 ansic=4597

Totals grouped by language (dominant language first):
ansic: 29062 (100.00%)
[...]

XFS still gets dorked with?

Posted Jan 25, 2011 15:49 UTC (Tue) by bronson (subscriber, #4806) [Link]

> Less lines were added to XFS than removed. That may mean code that's being heavily revisited ... and is now being cleaned up?

Or it may indicate code that is so good and forward thinking that it was hoisted into the VFS layer. Dunno! It's a bad idea to read too much into statistics alone.


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