Skip to content

Commit

Permalink
ocfs2: Enable localalloc for local mounts
Browse files Browse the repository at this point in the history
Commit 2fbe8d1 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>
  • Loading branch information
Sunil Mushran authored and Mark Fasheh committed Mar 3, 2008
1 parent 976dde0 commit 7ad8b3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/ocfs2/localalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7ad8b3d

Please sign in to comment.