commit | eb6bb1c5bdc6e455a9d16cb845cc65afc9b0a617 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Aug 16 09:21:27 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Sun Aug 22 15:16:48 2010 -0700 |
tree | 8bbdd454c7a528b7a9f7d84bf084311b7433757f | |
parent | ed326044489ed89c740c50a3df5dffc9c3b20b96 [diff] |
ceph: direct requests in snapped namespace based on nonsnap parent When making a request in the virtual snapdir or a snapped portion of the namespace, we should choose the MDS based on the first nonsnap parent (and its caps). If that is not the best place, we will get forward hints to find the right MDS in the cluster. This fixes ESTALE errors when using the .snap directory and namespace with multiple MDSs. Signed-off-by: Sage Weil <sage@newdream.net>