Lines Matching full:encoded
925 * Data and metadata for an encoded read or write.
927 * Encoded I/O bypasses any encoding automatically done by the filesystem (e.g.,
932 * preadv/pwritev with additional metadata about how the data is encoded and the
935 * BTRFS_IOC_ENCODED_READ fills the given iovecs with the encoded data, fills
936 * the metadata fields, and returns the size of the encoded data. It reads one
937 * extent per call. It can also read data which is not encoded.
939 * BTRFS_IOC_ENCODED_WRITE uses the metadata fields, writes the encoded data
940 * from the iovecs, and returns the size of the encoded data. Note that the
941 * encoded data is not validated when it is written; if it is not valid (e.g.,
944 * Since the filesystem page cache contains decoded data, encoded I/O bypasses
945 * the page cache. Encoded I/O requires CAP_SYS_ADMIN.
951 * iovecs containing encoded data.
953 * For reads, if the size of the encoded data is larger than the sum of
957 * For writes, the size of the encoded data is the sum of iov[n].iov_len
976 * contain the returned metadata for the encoded data.
978 * encoded data.