/* sync permission changes */
mdd->mdd_sync_permission = 1;
/* enable changelog garbage collection */
- mdd->mdd_changelog_gc = 0;
+ mdd->mdd_changelog_gc = 1;
/* with a significant amount of idle time */
mdd->mdd_changelog_max_idle_time = CHLOG_MAX_IDLE_TIME;
/* or a significant amount of late indexes */
* and to have set mc_gc_task to itself
*/
spin_unlock(&mdd->mdd_cl.mc_lock);
- schedule_timeout(usecs_to_jiffies(10));
+ /* Add a tiny sleep */
+ schedule_timeout_uninterruptible(1);
/* go back to fully check if GC-thread has started or
* even already exited or if a new one is starting...
*/