diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2014-04-28 18:43:31 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-30 13:46:55 -0600 |
commit | 08535466bce6bd91320990b9a614d52a3dc0f21d (patch) | |
tree | f42c7cffbb916a9b29c51bb281f9d070bb3633e6 /include | |
parent | 67cca286caa6e33f3134bd36834d2484538f4f78 (diff) | |
download | linux-08535466bce6bd91320990b9a614d52a3dc0f21d.tar.gz linux-08535466bce6bd91320990b9a614d52a3dc0f21d.tar.xz |
drbd: evaluate disk and network timeout on different requests
Just because it is the oldest not yet completed request
does not make it the oldest request waiting for disk.
Or waiting for the peer.
And we completely missed already completed requests
that would still hold references to activity log extents,
waiting only for the barrier ack.
Find two oldest not yet completely processed requests,
one that is still waiting for local completion,
and one that is still waiting for some response from the peer.
These may or may not be the same request object.
Then separately apply the network and disk timeouts, respectively.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions