• Andrew Morton's avatar
    [PATCH] Create `kblockd' workqueue · 33c66485
    Andrew Morton authored
    keventd is inappropriate for running block request queues because keventd
    itself can get blocked on disk I/O.  Via call_usermodehelper()'s vfork and,
    presumably, GFP_KERNEL allocations.
    
    So create a new gang of kernel threads whose mandate is for running low-level
    disk operations.  It must ever block on disk IO, so any memory allocations
    should be GFP_NOIO.
    
    We mainly use it for running unplug operations from interrupt context.
    33c66485
ll_rw_blk.c 62.1 KB