]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: Don't add dirty inode to dirty list if caps is in migration
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 19 Nov 2012 02:49:07 +0000 (10:49 +0800)
committerDavid Zafman <david.zafman@inktank.com>
Sat, 8 Dec 2012 19:23:25 +0000 (11:23 -0800)
commit41e7767868776b17116bfc3222d7bbc0ca3dd0d3
treeefee32974943af6dd25932d47627beab5fceaa36
parent60f3072262c092f7f9641e9b59e8f30003611de7
ceph: Don't add dirty inode to dirty list if caps is in migration

Add dirty inode to cap_dirty_migrating list instead, this can avoid
ceph_flush_dirty_caps() entering infinite loop.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
fs/ceph/caps.c