blk_start_plug man page on Oracle

Printed from http://www.polarhome.com/service/man/?qf=blk_start_plug&af=0&tf=2&of=Oracle

BLK_START_PLUG(9)		 Block Devices		     BLK_START_PLUG(9)

NAME
       blk_start_plug - initialize blk_plug and track it inside the
       task_struct

SYNOPSIS
       void blk_start_plug(struct blk_plug * plug);

ARGUMENTS
       plug
	   The struct blk_plug that needs to be initialized

DESCRIPTION
       Tracking 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.

COPYRIGHT
Kernel Hackers Manual 3.8.	   June 2014		     BLK_START_PLUG(9)
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net