Bewerken

Delen via


FsRtlBalanceReads function (ntifs.h)

The FsRtlBalanceReads routine signals to a fault-tolerant disk driver that it is now safe to start balancing reads from a mirrored drive.

Syntax

NTSTATUS FsRtlBalanceReads(
  [in] PDEVICE_OBJECT TargetDevice
);

Parameters

[in] TargetDevice

A pointer to the device object from which the device starts the balanced read.

Return value

FsRtlBalanceReads returns STATUS_INVALID_DEVICE_REQUEST if the device is not a mirror.

Remarks

FsRtlBalanceReads signals to a fault-tolerant disk driver that it is safe to start balancing reads from a mirrored drive. A file system typically calls FsRtlBalanceReads for a newly mounted volume once it has determined that the volume is clean.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm)

See also

CcIsThereDirtyData