]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:51:21 +0000 (08:51 -0800)
commitba647fd5c7ffc1a6433c8c90eedadf76a3df82fa
tree941bd196795644960de9fddb41b61bdda68952c5
parent42d519d12ef2d43a83b86cd2931c539045d07059
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>
(cherry picked from commit 0685235ffd9dbdb9ccbda587f8a3c83ad1d5a921)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/caps.c