test/ceph_decoder: add return value check for read_file()

check the return value of read_file function call

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
test/filestore/workloadgen: added check of return value for mkdir

check return value of mkdir

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>

test/filestore/workloadgen: fix return value check for mkdir

allow EEXIST from mkdir()

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
test/filestore: add check of return values in StoreTest::SetUp

add return value check for function calls, including mkdir, mkfs
and mount

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>

test/filestore: fix return value check for mkdir

allow EEXIST from mkdir()

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
os/WBThrottle: added check of return value for posix_fadvise()

check the return value of posix_fadvise() in WBThrottle::entry()

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
rgw/rgw_op: added check of return value for rgw_unlink_bucket()

checked the return value of rgw_unlink_bucket() in RGWCreateBucket::execute()

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
test/mon/workloadgen: added check of return value for statfs()

check the return value of statfs() in update_osd_stat()

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>

test/mon/workloadgen: fixed typo in error message

Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
common/Finisher: allow finisher to be restarted

Allow a start() after stop() by clearing the stop flag on a successful
stop.

Signed-off-by: Sage Weil <sage@inktank.com>
os/FileStore: allow mount after umount

Clear the stop flag on successful shutdown so that we can start again
later.

Signed-off-by: Sage Weil <sage@inktank.com>
common/WorkQueue: allow start() after stop()

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #879 from xinglin/coverity-fixes

Coverity fixes

The rgw patch is
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>

The rest is
Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #891 from ceph/wip-filestore-remount

allow various threaded services to be restarted to allow mount->umount->mount to work

Reviewed-by: Greg Farnum <greg@inktank.com>
Merge git://github.com/ceph/ceph