Module Name: src Committed By: mlelstv Date: Sun Aug 20 15:58:44 UTC 2017
Modified Files: src/sys/dev: ld.c ldvar.h src/sys/dev/sdmmc: ld_sdmmc.c sdmmc_mem.c sdmmcvar.h Log Message: make the sc_discard interface for the ld backend asynchronous and signal completion through new callback lddiscardend. Use a standard struct buf to pass disk address and range instead of two off_t values. make lddiscard synchronous again. This is a requirement of the current ffs discard code. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/dev/ld.c cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ldvar.h cvs rdiff -u -r1.33 -r1.34 src/sys/dev/sdmmc/ld_sdmmc.c cvs rdiff -u -r1.61 -r1.62 src/sys/dev/sdmmc/sdmmc_mem.c cvs rdiff -u -r1.28 -r1.29 src/sys/dev/sdmmc/sdmmcvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.