Skip to content
Snippets Groups Projects
Commit 93420770 authored by Boaz Harrosh's avatar Boaz Harrosh
Browse files

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: default avatarBoaz Harrosh <bharrosh@panasas.com>
[simplify logic]
Signed-off-by: default avatarBenny Halevy <bhalevy@panasas.com>
parent 5b36c7dc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment