fs-test / fs_test

LANL uses IOR and mdtest under experiment management control. Feel free to fork and develop as your own.
7 stars 9 forks source link

flatten_file does not work correctly #2

Closed brettkettering closed 11 years ago

brettkettering commented 11 years ago

flatten_file should only be called on N-1 workloads and when io is "plfs". So, first check the use of the "flatten" flag for such. Then, fix flatten index to check those conditions and clean-up the code a bit in there.

johnbent commented 11 years ago

I think it should work for all -io flags to fs_test.

On Jun 5, 2013, at 2:04 PM, Brett Kettering notifications@github.com wrote:

flatten_file should only be called on N-1 workloads and when io is "plfs". So, first check the use of the "flatten" flag for such. Then, fix flatten index to check those conditions and clean-up the code a bit in there.

— Reply to this email directly or view it on GitHub.

brettkettering commented 11 years ago

OK, so all I/O types, but only N-1?

johnbent commented 11 years ago

Yes.

On Jun 5, 2013, at 2:45 PM, Brett Kettering notifications@github.com wrote:

OK, so all I/O modes, but only N-1?

— Reply to this email directly or view it on GitHub.

brettkettering commented 11 years ago

Fixed the logic so that flatten_file can only be called if the plfs_flatten flag is set AND the target is a PLFS target AND the I/O type is N-1. Checked-in the code.