- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#lf84f6d7]
#backlinks
*説明 [#v791dd9a]
-パス: [[linux-2.6.25/block/blk-core.c]]
-これは何?
--説明
**引数 [#ae66a6e6]
-struct request_queue *q
--
**返り値 [#ab857d71]
-なし
**参考 [#he0111d7]
*実装 [#e03620e8]
/**
* generic_unplug_device - fire a request queue
* @q: The &struct request_queue in question
*
* Description:
* Linux uses plugging to build bigger requests queues before letting
* the device have at them. If a queue is plugged, the I/O scheduler
* is still adding and merging requests on the queue. Once the queue
* gets unplugged, the request_fn defined for the queue is invoked and
* transfers started.
**/
void generic_unplug_device(struct request_queue *q)
{
spin_lock_irq(q->queue_lock);
-
--[[linux-2.6.25/spin_lock_irq()]]
__generic_unplug_device(q);
-
--[[linux-2.6.25/__generic_unplug_device()]]
spin_unlock_irq(q->queue_lock);
-
--[[linux-2.6.25/spin_unlock_irq()]]
}
EXPORT_SYMBOL(generic_unplug_device);
-関数をエクスポートする。
--[[linux-2.6.25/EXPORT_SYMBOL()]]
*コメント [#f1973072]
#comment