Source-Changes archive

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

CVS commit: [haad-dm] src/sys/dev/dm



Module Name:    src
Committed By:   haad
Date:           Wed Sep  3 22:50:17 UTC 2008

Modified Files:
        src/sys/dev/dm [haad-dm]: device-mapper.c dm.h dm_ioctl.c dm_pdev.c
            dm_target.c

Log Message:
Simplify locking remove mutexes from pdev, target part of dm and only allow
one ioctl command to be in driver at time. Ioctl interface of dm device is
not performance critical so I don't need to paralelize dm driver so much.

Add new dev_type --> DM_DELETING_DEV which is set to device during
dm_device_remove_ioctl. To disable any incoming IO which will come in time
window between geting a rw_lock and removing device from global dev list.

XXX. I can't remove mutex from dm_dev.c also because dm_lookup_minor is
called from device-mapper and not from dm_ioctl.c


To generate a diff of this commit:
cvs rdiff -r1.1.2.9 -r1.1.2.10 src/sys/dev/dm/device-mapper.c
cvs rdiff -r1.1.2.11 -r1.1.2.12 src/sys/dev/dm/dm.h src/sys/dev/dm/dm_ioctl.c
cvs rdiff -r1.1.2.7 -r1.1.2.8 src/sys/dev/dm/dm_pdev.c
cvs rdiff -r1.1.2.10 -r1.1.2.11 src/sys/dev/dm/dm_target.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