Sent the following patch to ignore *LK fops for throttling.

----- Original Message -----
> From: "Pranith Kumar Karampuri" <>
> To: "Anand Avati" <>
> Cc: "Gluster Devel" <>
> Sent: Wednesday, April 23, 2014 12:19:58 PM
> Subject: rpc throttling causing ping timer expiries while running iozone
> hi,
>     When iozone is in progress and the number of blocking inodelks is greater
>     than the threshold number of rpc requests allowed for that client
>     (RPCSVC_DEFAULT_OUTSTANDING_RPC_LIMIT), subsequent requests from that
>     client will not be read until all the outstanding requests are processed
>     and replied to. But because no more requests are read from that client,
>     unlocks on the already granted locks will never come thus the number of
>     outstanding requests would never come down. This leads to a ping-timeout
>     on the client. I am wondering if the proper fix for this is to not
>     account INODELK/ENTRYLK/LK calls for throttling. I did make such a
>     change in the codebase and tested it and it works. Please let me know if
>     this is acceptable or it needs to be fixed differently.
> Pranith

Gluster-devel mailing list

Reply via email to