CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2011/07/11 00:26:09
Modified files: sys/scsi : sd.c sdvar.h Log message: ask the disk about unmap (read trim) parameters. check if we have the required vpd pages, then read them for the values we want. we look for the max blocks per unmap, the max descriptors per unmap, and which scsi command to use for unmapping (unmap will be preferred). two fixes and ok matthew@