android_kernel_xiaomi_sm8350/include
Christoph Hellwig e02f3f5922 [SCSI] remove target parent limitiation
When James Smart fixed the issue of the userspace scan atributes
crashing the system with the FC transport class he added a patch to
let the transport class check if the parent is valid for a given
transport class.

When adding support for the integrated raid of fusion sas devices
we ran into a problem with that, as it didn't allow adding virtual
raid volumes without the transport class knowing about it.

So this patch adds a user_scan attribute instead, that takes over from
scsi_scan_host_selected if the transport class sets it and thus lets
the transport class control the user-initiated scanning.  As this
plugs the hole about user-initiated scanning the target_parent hook
goes away and we rely on callers of the scanning routines to do
something sensible.

For SAS this meant I had to switch from a spinlock to a mutex to
synchronize the topology linked lists, in FC they were completely
unsynchronized which seems wrong.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-01-14 10:55:05 -06:00
..
acpi
asm-alpha [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
asm-arm [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-arm26 [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-cris [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-frv [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-generic Fix mutex_trylock() copy-and-paste bug (x86, x86-64, generic mutex-dec.h) 2006-01-11 15:50:47 -08:00
asm-h8300 [PATCH] include/asm-h8300/page.h: remove unused KTHREAD_SIZE #define 2006-01-11 18:42:09 -08:00
asm-i386 [PATCH] i386: Replace broken serialize_cpu in microcode driver with correct sync_core 2006-01-11 19:04:58 -08:00
asm-ia64 [PATCH] kprobes: fix build breakage 2006-01-10 08:01:40 -08:00
asm-m32r [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-m68k [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-m68knommu [PATCH] m68knommu: save reg a5 on context change 2006-01-10 09:31:27 -08:00
asm-mips MIPS: R2: Try to bulletproof instruction_hazard against miss-compilation. 2006-01-10 13:39:08 +00:00
asm-parisc [PARISC] Use C99 initializers in asm-parisc/processor.h 2006-01-10 21:52:45 -05:00
asm-powerpc Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge 2006-01-11 08:16:57 -08:00
asm-ppc [PATCH] powerpc: pci_address_to_pio fix 2006-01-09 15:05:56 +11:00
asm-s390 [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-sh [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-sh64 [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
asm-sparc [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
asm-sparc64 [PATCH] kprobes: fix build breakage 2006-01-10 08:01:40 -08:00
asm-um [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
asm-v850 [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
asm-x86_64 [PATCH] x86_64: Some housekeeping in local APIC code 2006-01-11 19:05:03 -08:00
asm-xtensa [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
keys [PATCH] Keys: Remove key duplication 2006-01-06 08:33:29 -08:00
linux [SCSI] fusion - adding support for FC949ES 2006-01-14 10:55:04 -06:00
math-emu
media V4L/DVB (3347): Fixes some bad global variables 2006-01-11 20:26:13 -02:00
mtd
net [INET]: congestion and af_ops can be const 2006-01-10 12:54:26 -08:00
pcmcia [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
rdma
rxrpc
scsi [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
sound [PATCH] DocBook: fix kernel-doc comments 2006-01-10 08:01:53 -08:00
video [PATCH] include/video/newport.h: "extern inline" -> "static inline" 2006-01-10 08:01:50 -08:00