Lines Matching refs:device
10 A block device is a storage device that supports reading and writing data in
15 The block device layer consists of a single generic library in `lib/bdev`,
19 of block device. This guide will cover how to interact with bdevs using that
35 generic block device. struct spdk_bdev_desc, heretofore called a *descriptor*,
36 represents a handle to a given block device. Descriptors are used to establish
37 and track permissions to use the underlying block device, much like a file
38 descriptor on UNIX systems. Requests to the block device are asynchronous and
64 device object can be obtained by calling spdk_bdev_get_by_name(), or the entire
70 name to look up the block device.
74 In order to send I/O requests to a block device, it must first be opened by
84 When a block device is opened, a callback and context must be provided that
117 the block device. This memory must be allocated through spdk_dma_malloc() or
120 be *directly transferred to the block device* using
139 mechanism to perform a device reset by calling spdk_bdev_reset(). This will pass
146 importantly, regardless of device type, *all I/O outstanding to the block
147 device will be completed prior to the reset completing.*