Ocfs2 allocation reservations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 5 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 5 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Ocfs2-devel] [PATCH 0/5] Ocfs2 allocation reservations
Quoted 14 lines · Mark Fasheh
Changes from the last patch set:
- added a check for overlapping reservations inocfs2_resv_insert()
- cleaned up the comments inocfs2_cannibalize_resv()
- the check for reservation past bitmap end inocfs2_check_resmap()is more strict now.
- removed the unusedm_search_startmember ofocfs2_reservation_map
- optimized__ocfs2_resv_find_window()to ignore regions that are too small for the current alloc
- major cleanup ofocfs2_resmap_claimed_bits()
- added a set of BUG_ON's to inocfs2_resmap_claimed_bits()to check that the passed allocation range is within the window.
- fixedocfs2_local_alloc_find_clear_bits()to return actual bits allocated
- add a check for a nulldata_acinocfs2_write_begin_nolock()
Quoted 2 lines
I also added a fifth patch, "ocfs2: remove
ocfs2_local_alloc_in_range()". I could spin this as it's own patch to go upstream earlier if we want.
Attached is a very small follow-up patch to turn off some of the expensive debug checks I placed in the code.
--Mark
From: Mark Fasheh <[email protected]>
[PATCH] ocfs2: turn off expensive reservations debugging by default
They can still be turned back on by enabling the "expensive checks" config option for Ocfs2.
--- fs/ocfs2/reservations.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
fs/ocfs2/reservations.c +0 -3
@@ -41,9 +41,6 @@#define OCFS2_CHECK_RESERVATIONS #endif -#define OCFS2_CHECK_RESERVATIONS - -DEFINE_SPINLOCK (resv_lock);#define OCFS2_MIN_RESV_WINDOW_BITS 8
Signature · 1 line
1.6.4.2