Whamcloud - gitweb
LU-1757 osc: clarify short_io_bytes is maximum value
[fs/lustre-release.git] / lustre / ldlm / ldlm_lib.c
index 6a5daf7..de66aa3 100644 (file)
@@ -416,7 +416,7 @@ int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg)
         * from OFD after connecting. */
        cli->cl_max_pages_per_rpc = PTLRPC_MAX_BRW_PAGES;
 
-       cli->cl_short_io_bytes = OBD_MAX_SHORT_IO_BYTES;
+       cli->cl_max_short_io_bytes = OBD_MAX_SHORT_IO_BYTES;
 
        /* set cl_chunkbits default value to PAGE_SHIFT,
         * it will be updated at OSC connection time. */