Whamcloud - gitweb
LU-4933 osc: Automatically tune the max_dirty_mb
[fs/lustre-release.git] / lustre / ptlrpc / import.c
index 81cf710..19de797 100644 (file)
@@ -1148,6 +1148,7 @@ finish:
 
                 LASSERT((cli->cl_max_pages_per_rpc <= PTLRPC_MAX_BRW_PAGES) &&
                         (cli->cl_max_pages_per_rpc > 0));
+               client_adjust_max_dirty(cli);
         }
 
 out: