diff options
author | Sage Weil <sage@newdream.net> | 2010-02-15 21:05:09 +0100 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-02-17 07:01:07 +0100 |
commit | 91e45ce38946a8efa21fefbc65d023ca3c0b434f (patch) | |
tree | 704146df9a3db46820684841cceffaabe5bc21cd /fs/ceph/debugfs.c | |
parent | ceph: allow connection to be reopened by fault callback (diff) | |
download | linux-91e45ce38946a8efa21fefbc65d023ca3c0b434f.tar.xz linux-91e45ce38946a8efa21fefbc65d023ca3c0b434f.zip |
ceph: cancel delayed work when closing connection
This ensures that if/when we reopen the connection, we can requeue work on
the connection immediately, without waiting for an old timer to expire.
Queue new delayed work inside con->mutex to avoid any race.
This fixes problems with clients failing to reconnect to the MDS due to
the client_reconnect message arriving too late (due to waiting for an old
delayed work timeout to expire).
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/debugfs.c')
0 files changed, 0 insertions, 0 deletions