mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
Flush device's SGV cache in dev_user_unjam_dev() for faster cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2212,6 +2212,9 @@ static int dev_user_unjam_dev(struct scst_user_dev *dev)
|
||||
|
||||
TRACE_MGMT_DBG("Unjamming dev %p", dev);
|
||||
|
||||
sgv_pool_flush(dev->pool);
|
||||
sgv_pool_flush(dev->pool_clust);
|
||||
|
||||
spin_lock_irq(&dev->cmd_lists.cmd_list_lock);
|
||||
|
||||
repeat:
|
||||
|
||||
Reference in New Issue
Block a user