Project

General

Profile

Actions

Feature #3527

closed

osd: blacklist should cancel outstanding watches from blacklisted client

Added by Dan Mick over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

While testing locking/fencing, I noticed that if an rbd client is blacklisted, it
receives ESHUTDOWN from any operation following; this unfortunately includes the
"remove watch" operation, which means that it exits with pending watches, which means
the image it was doing I/O to cannot be removed until the 30s timeout expires.

Blacklist should probably immediately expire and/or cancel outstanding watches from
the client being blacklisted.

Actions

Also available in: Atom PDF