Whamcloud - gitweb
Revert "LU-3188 osc: shorten IO calling path"
authorOleg Drokin <green@whamcloud.com>
Fri, 10 May 2013 18:28:14 +0000 (14:28 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 May 2013 18:28:56 +0000 (14:28 -0400)
This commit seems to have caused more problems than it fixed.

This reverts commit 83ae17df2bdce837e62473aec27c03d67312c8ea.

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);
 }