Lines Matching full:encoded
887 * Data and metadata for an encoded read or write.
889 * Encoded I/O bypasses any encoding automatically done by the filesystem (e.g.,
894 * preadv/pwritev with additional metadata about how the data is encoded and the
897 * BTRFS_IOC_ENCODED_READ fills the given iovecs with the encoded data, fills
898 * the metadata fields, and returns the size of the encoded data. It reads one
899 * extent per call. It can also read data which is not encoded.
901 * BTRFS_IOC_ENCODED_WRITE uses the metadata fields, writes the encoded data
902 * from the iovecs, and returns the size of the encoded data. Note that the
903 * encoded data is not validated when it is written; if it is not valid (e.g.,
906 * Since the filesystem page cache contains decoded data, encoded I/O bypasses
907 * the page cache. Encoded I/O requires CAP_SYS_ADMIN.
913 * iovecs containing encoded data.
915 * For reads, if the size of the encoded data is larger than the sum of
919 * For writes, the size of the encoded data is the sum of iov[n].iov_len
938 * contain the returned metadata for the encoded data.
940 * encoded data.