Age | Commit message (Collapse) | Author | Files | Lines |
|
All callers either pass in NULL directly, or a local variable that is
already set to NULL.
The internals of ocfs2_start_trans() get a nice cleanup as a result.
Signed-off-by: Mark Fasheh <[email protected]>
|
|
This sets us up to remove handle->journal.
Signed-off-by: Mark Fasheh <[email protected]>
|
|
Now that this is unused and all callers pass NULL, we can safely remove it.
Signed-off-by: Mark Fasheh <[email protected]>
|
|
Instead we record our state on the allocation context structure which all
callers already know about and lifetime correctly. This means the
reservation functions don't need a handle passed in any more, and we can
also take it off the alloc context.
Signed-off-by: Mark Fasheh <[email protected]>
|
|
Callers can set h_sync directly on the handle_t, whether a transaction has
been started or not can be determined via the existence of the handle_t on
the struct ocfs2_journal_handle.
Signed-off-by: Mark Fasheh <[email protected]>
|
|
Record the most recently used allocation group on the allocation context, so
that subsequent allocations can attempt to optimize for contiguousness.
Local alloc especially should benefit from this as the current chain search
tends to let it spew across the disk.
Signed-off-by: Mark Fasheh <[email protected]>
|
|
Try to catch corrupted group descriptors with some stronger checks placed in
a couple of strategic locations. Detect a failed resizefs and refuse to
allocate past what bitmap i_clusters allows.
Signed-off-by: Mark Fasheh <[email protected]>
|
|
Signed-off-by: Mark Fasheh <[email protected]>
|
|
The OCFS2 file system module.
Signed-off-by: Mark Fasheh <[email protected]>
Signed-off-by: Kurt Hackel <[email protected]>
|