disable nonblock lov sync, since ctxt can not be shared by 2 threads now.
disconnect the LOV. This of course means a cleanup won't
finish for as long as the sync is blocking. */
lu_device_get(ld);
-
+#if 0
if (nonblock) {
/* Synchronize in the background */
rc = cfs_kernel_thread(mdd_lov_synchronize, mlsi,
} else {
rc = __mdd_lov_synchronize((void *)mlsi);
}
-
+#else
+ /*FIXME: Did not implement the nonblock lov sync here. because ctxt can not
+ * be shared, maybe we need ref_count for ctxt */
+ rc = __mdd_lov_synchronize((void *)mlsi);
+#endif
RETURN(rc);
}