Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12651 osc: always call update_next_shrink
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_request.c
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
f2a8dd7
..
a33641d
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-843,8
+843,10
@@
static int osc_should_shrink_grant(struct client_obd *client)
return 0;
if (!OCD_HAS_FLAG(&client->cl_import->imp_connect_data, GRANT_SHRINK) ||
return 0;
if (!OCD_HAS_FLAG(&client->cl_import->imp_connect_data, GRANT_SHRINK) ||
- client->cl_import->imp_grant_shrink_disabled)
+ client->cl_import->imp_grant_shrink_disabled) {
+ osc_update_next_shrink(client);
return 0;
return 0;
+ }
if (ktime_get_seconds() >= next_shrink - 5) {
/* Get the current RPC size directly, instead of going via:
if (ktime_get_seconds() >= next_shrink - 5) {
/* Get the current RPC size directly, instead of going via: