Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/ic
Module Name: src
Committed By: jdolecek
Date: Fri Mar 16 23:31:19 UTC 2018
Modified Files:
src/sys/dev/ic: ld_nvme.c nvme.c nvmevar.h
Log Message:
refactor the locking code around DIOCGCACHE handling to be reusable
for other infrequent commands
it uses single condvar for simplicity, and uses it both when waiting
for ccb or command completion - this is fine, since usually there
will be just one such command qeueued anyway
use this to finally properly implement DIOCCACHESYNC - return only after
the command is confirmed as completed by the controller
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/ic/ld_nvme.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/ic/nvme.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/ic/nvmevar.h
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