# Re: \[RFC PATCH v3 05/12\] btrfs: don't advance offset for compressed bios in btrfs\_csum\_one\_bio()

- From: Omar Sandoval \<osandov@osandov.com\>
- Date: 2019-11-26 17:50:23 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2019/11/167680
- Thread: https://ratatoskr.run/linux-fsdevel/2019/11/167271/t.md

```text
On Tue, Nov 26, 2019 at 04:18:45PM +0200, Nikolay Borisov wrote:
> 
> 
> On 20.11.19 г. 20:24 ч., Omar Sandoval wrote:
> > From: Omar Sandoval <redacted>
> > 
> > btrfs_csum_one_bio() loops over each sector in the bio while keeping a
> 
> 'sector' here is ambiguous it really loops over every fs block (which in
> btrfs is also known as sector). SO perhaps change the wording in the
> changelog but also in the function instead of nr_sectors perhahps it
> could be renamed to blockcount?

Fixed, thanks.
```
