• Sage Weil's avatar
    ceph: take reference on mds request r_unsafe_dir · 3b663780
    Sage Weil authored
    We put ourselves on an inode list for the parent directory of metadata
    operations so that an fsync on the directory will wait for metadata updates
    to commit to disk.  We weren't holding a reference to that directory,
    however, and under certain workloads (fsstress in this case) the directory
    can go away.
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    3b663780
mds_client.c 86.7 KB