Skip to contentSkip to conversation

Testing Code for Btrfs

DISCUSSION nick 3 participants 4 messages Sep 6, 2014

lore
Share & tools
lore

nick

author
#0 lore raw

Hey Guys,
After purchasing a hard drive for btrfs testing, I am wondering what areas of testing you would like me to do. In addition this drive is enterprise based, a Seagate Constellation so feel free to hammer it with the tests as you wish :), I have no important data on it and don't care about losing it.
Nick

#1 lore raw
Quoted 8 lines · nick

Hey Guys,
After purchasing a hard drive for btrfs testing, I am wondering what areas of testing you would like me to do.
In addition this drive is enterprise based, a Seagate Constellation so feel free to hammer it with the tests
as you wish :), I have no important data on it and don't care about losing it.
Nick

Nick,

The first thing you should do is run the xfstest suite against it. You will find that every test has a list of file systems it is expected to pass. There are generic tests that all file systems should pass and then others that will have btrfs listed by itself or with others that should pass.

After each meaningful filesystem patch, days of automated xfstest runs are required to prove the new code hasn't broken anything.

Remember the name xfstest is a legacy name. The suite is now used to test all Linux file systems.

Greg

Signature · 1 line
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
#2 lore raw
In reply to nick

some well known filesystem testing tools are listed here:

http://linuxpoison.blogspot.sg/2008/07/linux-filesystem-testing-tools.html

LTP is one of my favorite, very actively updated and basically it focus on testing kernel as a whole.

Quoted 14 lines · nick

Hey Guys,
After purchasing a hard drive for btrfs testing, I am wondering what areas of testing you would like me to do.
In addition this drive is enterprise based, a Seagate Constellation so feel free to hammer it with the tests
as you wish :), I have no important data on it and don't care about losing it.
Nick

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 5 lines
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140906/e081f225/attachment.html 
#3 lore raw
Quoted 8 lines · Peter Teoh

some well known filesystem testing tools are listed here:

http://linuxpoison.blogspot.sg/2008/07/linux-filesystem-testing-tools.html

LTP is one of my favorite, very actively updated and basically it focus on
testing kernel as a whole.

That appears to be an older list. At that time xfstests was xfs only I believe and fio didn't yet exist.

Both are now primary testing tools for filesystem developers.

Xfstests is primarily a set of functional tests. Close to 300 independent tests at this point.

Fio is primarily a performance testing tool. It was originally designed to test out performance efforts in the block stack. It has grown all sorts of features and can be used to test all kinds of work loads, but it remains a performance oriented tool.

Some of the xfstests tests invoke fio to create a background I/o load.

Greg

Signature · 1 line
Sent from my Android phone with K-9 Mail. Please excuse my brevity.