]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
LFNIndex::lfn_translate: consider alt attr as well
authorSamuel Just <sjust@redhat.com>
Thu, 10 Mar 2016 23:19:15 +0000 (15:19 -0800)
committerSamuel Just <sjust@redhat.com>
Mon, 14 Mar 2016 17:25:30 +0000 (10:25 -0700)
commit850ce11ea3c4dacc6ff1a3ce7ff37000818267c2
tree7c05646426cfed627c75ee3d8de7bff50f42b3a9
parentaec5560887a1c1dbbb5aba822280e2c1e05d5d8f
LFNIndex::lfn_translate: consider alt attr as well

If the file has an alt attr, there are two possible matching
ghobjects.  We want to make sure we choose the right one for
the short name we have.  If we don't, a split while there are
two objects linking to the same inode will result in one of
the links being orphaned in the source directory, resulting
in #14766.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/os/filestore/LFNIndex.cc
src/os/filestore/LFNIndex.h