android_kernel_xiaomi_sm8350/drivers/block
David S. Miller 43fdf27470 [SPARC64]: Abstract out mdesc accesses for better MD update handling.
Since we have to be able to handle MD updates, having an in-tree
set of data structures representing the MD objects actually makes
things more painful.

The MD itself is easy to parse, and we can implement the existing
interfaces using direct parsing of the MD binary image.

The MD is now reference counted, so accesses have to now take the
form:

	handle = mdesc_grab();

	... operations on MD ...

	mdesc_release(handle);

The only remaining issue are cases where code holds on to references
to MD property values.  mdesc_get_property() returns a direct pointer
to the property value, most cases just pull in the information they
need and discard the pointer, but there are few that use the pointer
directly over a long lifetime.  Those will be fixed up in a subsequent
changeset.

A preliminary handler for MD update events from domain services is
there, it is rudimentry but it works and handles all of the reference
counting.  It does not check the generation number of the MDs,
and it does not generate a "add/delete" list for notification to
interesting parties about MD changes but that will be forthcoming.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-16 04:04:28 -07:00
..
aoe [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
paride paride drivers: initialize spinlocks 2007-04-24 08:23:08 -07:00
acsi_slm.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
amiflop.c [PATCH] fix request->cmd == INT cases 2007-07-10 08:03:34 +02:00
ataflop.c
cciss_cmd.h
cciss_scsi.c [SCSI] cciss: convert to use the data buffer accessors 2007-05-29 11:22:13 -05:00
cciss_scsi.h
cciss.c cciss: add new controller support for P700m 2007-07-10 08:03:33 +02:00
cciss.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c Off by one in floppy.c 2007-05-23 20:14:15 -07:00
ida_cmd.h
ida_ioctl.h
Kconfig [SPARC64]: Add Sun LDOM virtual disk driver. 2007-07-16 04:03:56 -07:00
loop.c pipe: change the ->pin() operation to ->confirm() 2007-07-10 08:04:15 +02:00
Makefile [SPARC64]: Add Sun LDOM virtual disk driver. 2007-07-16 04:03:56 -07:00
nbd.c [PATCH] fix request->cmd == INT cases 2007-07-10 08:03:34 +02:00
pktcdvd.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
ps2esdi.c
rd.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
smart1,2.h
sunvdc.c [SPARC64]: Abstract out mdesc accesses for better MD update handling. 2007-07-16 04:04:28 -07:00
swim3.c
sx8.c
ub.c USB: drivers/block/ub.c: use list_for_each_entry() 2007-07-12 16:34:40 -07:00
umem.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
viodasd.c
xd.c
xd.h
z2ram.c