commit | 7b88dadc13e0004947de52df128dbd5b0754ed0a | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Thu Nov 11 16:48:59 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Thu Nov 11 16:48:59 2010 -0800 |
tree | 9a2fd203b382b5922dfd1be5cb3adf055ff50c2d | |
parent | a1629c3b24f26ec1b0f534874af674a6b4c1540b [diff] |
ceph: fix frag offset for non-leftmost frags We start at offset 2 for the leftmost frag, and 0 for subsequent frags. When we reach the end (rightmost), we go back to 2. This fixes readdir on fragmented (large) directories. Signed-off-by: Sage Weil <sage@newdream.net>