Project

General

Profile

Feature #2227

QA: create a test to verify operation with non-default layouts

Added by Alex Elder almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
qa
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

I submitted a patch that modified ceph_calc_file_object_mapping()
in the ceph client, and when reviewing it Sage pointed out that
there may not be a good test to verify non-default file layouts.

Here's what he said:
It would be nice to have a test that runs some tool that verifies re-read
data (iozone?) run when non-default file layouts. Say, 1MB stripes over 9
13MB objects, something like that. The 'cephfs' command line utility can
be used to set the default layout for new files under a
subdirectory/subtree, so running it on . in a workunit bash script (e.g.
based on ceph.git/qa/workunits/suites/iozone.sh) should do the trick.
('cephfs' only works on the kclient, though, so it needs to be a distinct
script that we don't already run on ceph-fuse... probably stick it in the
qa/workunits/kclient directory).

Not that this code was thoroughly tested with weird layouts before or 
anything , but it would be nice to see that before we merge this in.

So this is just recording that this ought to be done. I'll see if I can
do manually what he generally suggests here, and we can see about making
the result into an automated test.

History

#1 Updated by Sage Weil over 11 years ago

  • Status changed from New to Closed

Also available in: Atom PDF