blk_pm_runtime_init man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

BLK_PM_RUNTIME_INIT(9)		 Block Devices		BLK_PM_RUNTIME_INIT(9)

NAME
       blk_pm_runtime_init - Block layer runtime PM initialization routine

SYNOPSIS
       void blk_pm_runtime_init(struct request_queue * q,
				struct device * dev);

ARGUMENTS
       q
	   the queue of the device

       dev
	   the device the queue belongs to

DESCRIPTION
       Initialize runtime-PM-related fields for q and start auto suspend for
       dev. Drivers that want to take advantage of request-based runtime PM
       should call this function after dev has been initialized, and its
       request queue q has been allocated, and runtime PM for it can not
       happen yet(either due to disabled/forbidden or its usage_count > 0). In
       most cases, driver should call this function before any I/O has taken
       place.

       This function takes care of setting up using auto suspend for the
       device, the autosuspend delay is set to -1 to make runtime suspend
       impossible until an updated value is either set by user or by driver.
       Drivers do not need to touch other autosuspend settings.

       The block layer runtime PM is request based, so only works for drivers
       that use request as their IO unit instead of those directly use bio's.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		BLK_PM_RUNTIME_INIT(9)
[top]

List of man pages available for OpenSuSE

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