Thread (25 messages) 25 messages, 3 authors, 2020-02-04

Re: [PATCH 09/15] rbd: count pending object requests in-line

From: Hannes Reinecke <hare@suse.de>
Date: 2020-02-04 06:59:29
Also in: ceph-devel

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help