Skip to contentSkip to conversation

Run xfstests for f2fs

DISCUSSION Huang Ying 2 participants 3 messages Sep 16, 2014 – Sep 19, 2014

lore
Share & tools
lore

Huang Ying

author
#0 lore raw

Hi, Jaegeuk,

xfstests (http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfstests.git)
is regression test suite for xfs and other file systems. To run xfstests for f2fs, we need to either

- change fsck.f2fs to support "-n", which is default fsck option in xfstests.
- change xfstests to call fsck.f2fs without any parameters.

I think choosing which solution depends on whether we will implemented a fsck which can repair file system. If so, we can add "-n" to fsck.f2fs. Otherwise, we can change xfstests.

Best Regards,
Huang, Ying

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk

#1 lore raw

Hi,

Quoted 6 lines · Huang Ying

Hi, Jaegeuk,

xfstests (http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfstests.git)
is regression test suite for xfs and other file systems. To run xfstests for f2fs, we need to either

Quoted 6 lines

- change fsck.f2fs to support "-n", which is default fsck option in xfstests.
- change xfstests to call fsck.f2fs without any parameters.

I think choosing which solution depends on whether we will implemented a fsck which can repair file system.

I already implemented fsck.f2fs which fixes a corrupted partition. There are two options: -a and -f.

Quoted 2 lines

If so, we can add "-n" to fsck.f2fs.
Otherwise, we can change xfstests.

http://patchwork.xfs.org/patch/7658/

I sent a patch before, and couldn't follow up the latest xfstests tree. Could you check that?

Thanks,

Quoted 3 lines

Best Regards,
Huang, Ying

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk

author
#2 lore raw
Quoted 19 lines · Jaegeuk Kim

Hi,

Quoted 6 lines · Huang Ying

Hi, Jaegeuk,

xfstests (http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfstests.git)
is regression test suite for xfs and other file systems. To run xfstests for f2fs, we need to either

Quoted 6 lines

- change fsck.f2fs to support "-n", which is default fsck option in xfstests.
- change xfstests to call fsck.f2fs without any parameters.

I think choosing which solution depends on whether we will implemented a fsck which can repair file system.

I already implemented fsck.f2fs which fixes a corrupted partition. There are two options: -a and -f.

Quoted 7 lines
Quoted 2 lines

If so, we can add "-n" to fsck.f2fs.
Otherwise, we can change xfstests.

http://patchwork.xfs.org/patch/7658/

I sent a patch before, and couldn't follow up the latest xfstests tree. Could you check that?

Checked the latest xfstests git tree:

git://oss.sgi.com/xfs/cmds/xfstests.git

The latest git log item is:

commit cef47130ad17ff3a0c3cbdbd80d5dbc5f06cc876

Author: Brian Foster <[email protected]>
Date:   Mon Sep 8 22:51:39 2014 +1000

xfs/051: test buffer use after free race on I/O failure in XFS log
recovery

There is still no f2fs support. Resend your patch?

Best Regards,
Huang, Ying

------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk