fsstress: make sync a write op
authorEric Sandeen <sandeen@sandeen.net>
Mon, 6 Feb 2012 06:00:52 +0000 (00:00 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 6 Feb 2012 06:00:52 +0000 (00:00 -0600)
commit7d89aa90763e1ec02498b8193900902470e22fc1
treebdd88ebf48640ab39cfa21bc1bb9f82146c9e427
parentbc78389b3f98b25adb0e3de54c0cf7bea4c38def
fsstress: make sync a write op

I was running 068 to test freeze changes, and realized that
"sync" is not in the op list when "-w" (write ops) is specified,
although fsync & fdatasync are.  It seems to me that sync should
be a default write op as well.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
ltp/fsstress.c