Loading...
Searching...
No Matches
spdk_bdev_module::__bdev_module_internal_fields Struct Reference

Fields that are used by the internal bdev subsystem. More...

#include <bdev_module.h>

Collaboration diagram for spdk_bdev_module::__bdev_module_internal_fields:

Public Member Functions

 TAILQ_HEAD (, lba_range) quiesced_ranges
 List of quiesced lba ranges in all bdevs of this module.
 
 TAILQ_ENTRY (spdk_bdev_module) tailq
 

Data Fields

struct spdk_spinlock spinlock
 Protects action_in_progress and quiesced_ranges.
 
uint32_t action_in_progress
 Count of bdev inits/examinations in progress.
 

Detailed Description

Fields that are used by the internal bdev subsystem.

Bdev modules must not read or write to these fields.

Field Documentation

◆ action_in_progress

uint32_t spdk_bdev_module::__bdev_module_internal_fields::action_in_progress

Count of bdev inits/examinations in progress.

Used by generic bdev layer and must not be modified by bdev modules.

Note
Used internally by bdev subsystem, don't change this value in bdev module.

◆ spinlock

struct spdk_spinlock spdk_bdev_module::__bdev_module_internal_fields::spinlock

Protects action_in_progress and quiesced_ranges.

Take no locks while holding this one.


The documentation for this struct was generated from the following file: