git: mmcsd(4): Declare device D_MPSAFE. Move start_transaction to mmcsd thread.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Mon Jan 9 14:58:23 PST 2017


commit 92aa89bfeb5938020126f7978c1bdbe60cf386db
Author: Imre Vadász <imre at vdsz.com>
Date:   Mon Jan 9 23:00:42 2017 +0100

    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().

Summary of changes:
 sys/dev/disk/mmcsd/mmcsd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92aa89bfeb5938020126f7978c1bdbe60cf386db


-- 
DragonFly BSD source repository



More information about the Commits mailing list