Lines Matching full:encoded
935 * Data and metadata for an encoded read or write.
937 * Encoded I/O bypasses any encoding automatically done by the filesystem (e.g.,
942 * preadv/pwritev with additional metadata about how the data is encoded and the
945 * BTRFS_IOC_ENCODED_READ fills the given iovecs with the encoded data, fills
946 * the metadata fields, and returns the size of the encoded data. It reads one
947 * extent per call. It can also read data which is not encoded.
949 * BTRFS_IOC_ENCODED_WRITE uses the metadata fields, writes the encoded data
950 * from the iovecs, and returns the size of the encoded data. Note that the
951 * encoded data is not validated when it is written; if it is not valid (e.g.,
954 * Since the filesystem page cache contains decoded data, encoded I/O bypasses
955 * the page cache. Encoded I/O requires CAP_SYS_ADMIN.
961 * iovecs containing encoded data.
963 * For reads, if the size of the encoded data is larger than the sum of
967 * For writes, the size of the encoded data is the sum of iov[n].iov_len
986 * contain the returned metadata for the encoded data.
988 * encoded data.