Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/dm



Module Name:    src
Committed By:   haad
Date:           Tue May 18 15:10:41 UTC 2010

Modified Files:
        src/sys/dev/dm: device-mapper.c dm.h dm_target.c dm_target_error.c
            dm_target_linear.c dm_target_mirror.c dm_target_snapshot.c
            dm_target_stripe.c dm_target_zero.c

Log Message:
Add support for DIOCCACHESYNC ioctl for dm devices. Add new sync function
pointer to dm_target_t because that is the only part of dm which know real
block device. disk_ioctl_switch parses whole device table and for every
entry it calls particular sync routine which propagates DIOCCACHESYNC
to real disk.

While I was here implement some KNF fixes and remove unneeded symbols from
dm.h.

Problem reported on port-xen@ by Hugo Silva.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/dm/device-mapper.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/dm/dm.h
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/dm/dm_target.c \
    src/sys/dev/dm/dm_target_snapshot.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/dm/dm_target_error.c \
    src/sys/dev/dm/dm_target_zero.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/dm/dm_target_linear.c \
    src/sys/dev/dm/dm_target_stripe.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/dm/dm_target_mirror.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index