Whamcloud - gitweb
Revert "LU-3188 osc: shorten IO calling path"
[fs/lustre-release.git] / lustre / osc / osc_cache.c
index 0602242..25d84d3 100644 (file)
@@ -2581,7 +2581,7 @@ int osc_queue_sync_pages(const struct lu_env *env, struct osc_object *obj,
        }
        osc_object_unlock(obj);
 
-       osc_io_unplug_async(env, cli, obj);
+       osc_io_unplug(env, cli, obj, PDL_POLICY_ROUND);
        RETURN(0);
 }