Re: [PATCH v8 05/18] btrfs: rework btrfs_decompress_buf2page()
From: David Sterba <hidden>
Date: 2021-07-28 13:26:39
From: David Sterba <hidden>
Date: 2021-07-28 13:26:39
On Mon, Jul 26, 2021 at 02:34:54PM +0800, Qu Wenruo wrote:
+ while (cur_offset < decompressed + buf_len) {
+ struct bio_vec bvec = bio_iter_iovec(orig_bio,
+ orig_bio->bi_iter);
+ size_t copy_len;
+ u32 copy_start;
+ u32 bvec_offset; /* Offset inside the full decompressed extent */Please put such comments on a separate line, before the variable declaration.