summaryrefslogtreecommitdiff
path: root/wireshark
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-09-03 16:35:07 -0700
committerSage Weil <sage@newdream.net>2009-09-03 16:35:18 -0700
commit43426ddc367bfcad4ea67b7a96e838d5fc7af01f (patch)
treefe6f757a6bb1850679b6d69005a044cb05a7421a /wireshark
parent6f7bbdfe8047ef3fd54889dac05e36a90f088314 (diff)
downloadceph-43426ddc367bfcad4ea67b7a96e838d5fc7af01f.tar.gz
uclient: tweak readahead logic
Trim readahead extent to align to a stripe unit boundary, always. This let's us, say, set the max to be 1 stripe unit, and then we never read beyond the current su. Only initiate readahead if it's > len. Otherwise we just make things slower by breaking the read into two ops!
Diffstat (limited to 'wireshark')
0 files changed, 0 insertions, 0 deletions