浏览代码

ocfs2: Enable localalloc for local mounts

Commit 2fbe8d1ebe004425b4f7b8bba345623d2280be82 disabled localalloc
for local mounts. This caused issues as ocfs2 uses localalloc to
provide write locality. This patch enables localalloc for local mounts.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Sunil Mushran 17 年之前
父节点
当前提交
7ad8b3d30e
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      fs/ocfs2/localalloc.c

+ 0 - 3
fs/ocfs2/localalloc.c

@@ -120,9 +120,6 @@ int ocfs2_load_local_alloc(struct ocfs2_super *osb)
 
 	mlog_entry_void();
 
-	if (ocfs2_mount_local(osb))
-		goto bail;
-
 	if (osb->local_alloc_size == 0)
 		goto bail;