commit | 9342077011d54f42fa1b88b7bc1f7008dcf5fff9 | [log] [tgz] |
---|---|---|
author | Boaz Harrosh <bharrosh@panasas.com> | Wed May 25 21:25:29 2011 +0300 |
committer | Boaz Harrosh <bharrosh@panasas.com> | Sun May 29 21:03:08 2011 +0300 |
tree | 88ef803dae5672d8bb40a563a6d2d301ae2e782f | |
parent | 5b36c7dc41d87d39e779a84fdc2b44b39bba32ca [diff] |
pnfs-obj: pg_test check for max_io_size Implement pg_test vector to test for max IO sizes. We calculate a max_io_size member only once, and cache it in lseg so to not do so on every page insert. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> [simplify logic] Signed-off-by: Benny Halevy <bhalevy@panasas.com>