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