Query: blk_start_plug
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_START_PLUG(9) Block Devices BLK_START_PLUG(9)NAMEblk_start_plug - initialize blk_plug and track it inside the task_structSYNOPSISvoid blk_start_plug(struct blk_plug * plug);ARGUMENTSplug The struct blk_plug that needs to be initializedDESCRIPTIONTracking blk_plug inside the task_struct will help with auto-flushing the pending I/O should the task end up blocking between blk_start_plug and blk_finish_plug. This is important from a performance perspective, but also ensures that we don't deadlock. For instance, if the task is blocking for a memory allocation, memory reclaim could end up wanting to free a page belonging to that request that is currently residing in our private plug. By flushing the pending I/O when the process goes to sleep, we avoid this kind of deadlock.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BLK_START_PLUG(9)
Related Man Pages |
---|
__get_user_pages(9) - centos |
blk_make_request(9) - centos |
struct_utrace_engine_ops(9) - suse |
padre::pluginbuilder(3pm) - debian |
picld_plugin_register(3picltre) - linux |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
Set hard block limit for user using quota |
Tar Command |
CentOS7 restoring file capabilities |
[TIP] Processing YAML files with yq |