Bug #47307
Updated by Patrick Donnelly over 3 years ago
A trivial "find" command on a large directory hierarchy will cause the client to receive caps significantly faster than it will release. The MDS will try to have the client reduce its caps below the mds_max_caps_per_client limit but the recall throttles prevent it from catching up to the pace of acquisition. I think the strategy for fixing this is -to to increase the rate of recall for the particular session in response to the workload and- and to throttle the readdir RPCs from the client. Edit: I think we should just start by throttling readdir RPCs if the client is over the maximum number of caps.