01 Nov, 2011
1 commit
-
A pending cleanup will mean that module.h won't be implicitly
everywhere anymore. Make sure the modular drivers in md dir
are actually calling out for explicitly in advance.Signed-off-by: Paul Gortmaker
03 Apr, 2009
1 commit
-
Fix refcount corruption in dm-path-selector
Refcounting with non-atomic ops under shared lock will corrupt the counter
in multi-processor system and may trigger BUG_ON().
Use module refcount.
# same approach as dm-target-use-module-refcount-directly.patch here
# https://www.redhat.com/archives/dm-devel/2008-December/msg00075.htmlTypical oops:
kernel BUG at linux-2.6.29-rc3/drivers/md/dm-path-selector.c:90!
Pid: 11148, comm: dmsetup Not tainted 2.6.29-rc3-nm #1
dm_put_path_selector+0x4d/0x61 [dm_multipath]
Call Trace:
[] free_priority_group+0x33/0xb3 [dm_multipath]
[] free_multipath+0x31/0x67 [dm_multipath]
[] multipath_dtr+0x2d/0x32 [dm_multipath]
[] dm_table_destroy+0x64/0xd8 [dm_mod]
[] __unbind+0x46/0x4b [dm_mod]
[] dm_swap_table+0x60/0x14d [dm_mod]
[] dev_suspend+0xfd/0x177 [dm_mod]
[] dm_ctl_ioctl+0x24c/0x29c [dm_mod]
[] ? get_page_from_freelist+0x49c/0x61d
[] ? dev_suspend+0x0/0x177 [dm_mod]
[] vfs_ioctl+0x2a/0x77
[] do_vfs_ioctl+0x448/0x4a0
[] sys_ioctl+0x57/0x7a
[] system_call_fastpath+0x16/0x1bCc: stable@kernel.org
Signed-off-by: Jun'ichi Nomura
Signed-off-by: Alasdair G Kergon
22 Oct, 2008
1 commit
-
Change #include "dm.h" to #include in all targets.
Targets should not need direct access to internal DM structures.Signed-off-by: Mikulas Patocka
Signed-off-by: Alasdair G Kergon
20 Oct, 2007
1 commit
-
Convert kmalloc() + memset() to kzalloc().
Signed-off-by: Dmitry Monakhov
Signed-off-by: Alasdair G Kergon
27 Mar, 2006
1 commit
-
this changes if() BUG(); constructs to BUG_ON() which is
cleaner and can better optimized awaySigned-off-by: Eric Sesterhenn
Signed-off-by: Adrian Bunk
06 May, 2005
1 commit
-
This patch makes some needlessly global code static.
Signed-Off-By: Alasdair G Kergon
Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!