On 2/3/20 6:47 PM, Ilya Dryomov wrote:
On Fri, Jan 31, 2020 at 11:38 AM Hannes Reinecke [off-list ref] wrote:
quoted
Instead of having a counter for outstanding object requests
check the state and count only those which are not in the final
state.
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
drivers/block/rbd.c | 41 ++++++++++++++++++++++++++++++-----------
1 file changed, 30 insertions(+), 11 deletions(-)
[ .. ]
This is just to be able to drop img_req->state_mutex in patch 11,
right?
correct.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer