mmcsd(4): Declare device D_MPSAFE. Move start_transaction to mmcsd thread.
authorImre Vadász <imre@vdsz.com>
Mon, 9 Jan 2017 22:00:42 +0000 (23:00 +0100)
committerImre Vadász <imre@vdsz.com>
Mon, 9 Jan 2017 22:54:43 +0000 (23:54 +0100)
commit92aa89bfeb5938020126f7978c1bdbe60cf386db
tree61f3e9febe9e47412e4fbb0d5e625b12349f3592
parent8fc9d582594451ff2a71178fa9602257a07c5af7
mmcsd(4): Declare device D_MPSAFE. Move start_transaction to mmcsd thread.

* SD card commands are issued in the mmcsd thread after it takes the bio
  command from the queue, so we should do the devstat_start_transaction()
  there, instead of directly in mmcsd_strategy().
sys/dev/disk/mmcsd/mmcsd.c