linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET v2] ext4: removal of alloc_sem locks from block allocation paths
@ 2011-03-24 16:58 amir73il
  2011-03-24 16:58 ` [PATCH v2 1/5] ext4: move ext4_add_groupblocks() to mballoc.c amir73il
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: amir73il @ 2011-03-24 16:58 UTC (permalink / raw)
  To: tytso; +Cc: linux-ext4

The purpose of this patch set is the removal of grp->alloc_sem locks
from block allocation paths.

The resulting code is cleaner and should perform better in concurrent
allocating tasks workloads.

I ran several xfstests runs with these patches (4K and 1K block size).
I tried several online resizes and verifyed that both in-core and on-disk
group counters are correct.

v2->v1:
- fix silly bug in patch 4/5 that triggers BUG_ON(incore == NULL)
- replace get_undo_access() with get_write_access()
- ran xfstests with block size 1K (where 2 groups share a buddy page)

[PATCH v2 1/5] ext4: move ext4_add_groupblocks() to mballoc.c
[PATCH v2 2/5] ext4: implement ext4_add_groupblocks() by freeing blocks
[PATCH v2 3/5] ext4: synchronize ext4_mb_init_group() with buddy page lock
[PATCH v2 4/5] ext4: teach ext4_mb_init_cache() to skip uptodate buddy caches
[PATCH v2 5/5] ext4: remove alloc_semp


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-05-10 18:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 16:58 [PATCHSET v2] ext4: removal of alloc_sem locks from block allocation paths amir73il
2011-03-24 16:58 ` [PATCH v2 1/5] ext4: move ext4_add_groupblocks() to mballoc.c amir73il
2011-05-09 14:54   ` Ted Ts'o
2011-05-09 14:59     ` [PATCH 1/2] " Theodore Ts'o
2011-05-09 14:59     ` [PATCH 2/2] ext4: remove unneeded ext4_journal_get_undo_access Theodore Ts'o
2011-05-09 16:01     ` [PATCH v2 1/5] ext4: move ext4_add_groupblocks() to mballoc.c Amir G.
2011-05-09 16:28       ` Yongqiang Yang
2011-03-24 16:58 ` [PATCH v2 2/5] ext4: implement ext4_add_groupblocks() by freeing blocks amir73il
2011-03-24 16:58 ` [PATCH v2 3/5] ext4: synchronize ext4_mb_init_group() with buddy page lock amir73il
2011-03-24 16:58 ` [PATCH v2 4/5] ext4: teach ext4_mb_init_cache() to skip uptodate buddy caches amir73il
2011-03-24 16:58 ` [PATCH v2 5/5] ext4: remove alloc_semp amir73il
2011-05-10 13:29   ` Ted Ts'o
2011-05-10 18:20     ` Amir G.
2011-05-03 15:47 ` [PATCHSET v2] ext4: removal of alloc_sem locks from block allocation paths Amir G.
2011-05-10 13:48 ` Lukas Czerner
2011-05-10 18:30   ` Amir G.
2011-05-10 18:43     ` Lukas Czerner
2011-05-10 18:58       ` Amir G.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).