Module devicemapper::consts [] [src]

shared constants

Modules

IEC

International Electrotechnical Commission Units Standards

Structs

DmFlags

Flags used by devicemapper.

Constants

DM_ACTIVE_PRESENT

Out: Active table is present.

DM_BUFFER_FULL

Out: Passed-in buffer was too small.

DM_CTL_PATH

Control path for user space to pass IOCTL to kernel DM

DM_DATA_OUT

Out: A message generated output data.

DM_DEFERRED_REMOVE

In: Do not remove in-use devices. Out: Device scheduled to be removed when closed.

DM_INACTIVE_PRESENT

Out: Inactive table is present.

DM_INTERNAL_SUSPEND

Out: Device is suspended internally.

DM_IOCTL

Indicator to send IOCTL to DM

DM_NAME_LEN

Name max length

DM_NOFLUSH

In: Suspend without flushing queued I/Os.

DM_PERSISTENT_DEV

In: Use passed-in minor number.

DM_QUERY_INACTIVE_TABLE

In: Query inactive table instead of active.

DM_READONLY

In: Device should be read-only. Out: Device is read-only.

DM_SECURE_DATA

In: All buffers are wiped after use. Use when handling crypto keys.

DM_SKIP_BDGET

Obsolete.

DM_SKIP_LOCKFS

In: Avoid freezing filesystem when suspending.

DM_STATUS_TABLE

In: STATUS command returns table info instead of status.

DM_SUSPEND

In: Device should be suspended. Out: Device is suspended.

DM_UEVENT_GENERATED

Out: A uevent was generated, the caller may need to wait for it.

DM_UUID

In: Rename affects UUID field, not name field.

DM_UUID_LEN

UUID max length

DM_VERSION_MAJOR

Major version

DM_VERSION_MINOR

Minor version

DM_VERSION_PATCHLEVEL

Patch level

MIN_BUF_SIZE

Start with a large buffer to make BUFFER_FULL rare. Libdm does this too.s

SECTOR_SIZE

disk sector size in bytes