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:           Thu Aug 28 21:53:42 UTC 2008

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

Log Message:
Add dm_pdev_lookup_name_list which is used to lookup pdev in device pdev list.

Add new reference counter to struct pdev which is used from device pdev list.
When pdev is inserted from target_init routine increment device pdev list 
ref_cnt
and remove pdev from list only when this ref. counter is 0.

Avoid problem when to tables with same device can remove pdev from this list.


To generate a diff of this commit:
cvs rdiff -r1.1.2.10 -r1.1.2.11 src/sys/dev/dm/dm.h
cvs rdiff -r1.1.2.6 -r1.1.2.7 src/sys/dev/dm/dm_pdev.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