Re: [Qemu-block] [PATCH v6 05/20] iscsi: Switch cluster_sectors to byte-based

2017-12-28 Thread Fam Zheng
On Thu, 12/07 14:30, Eric Blake wrote: > We are gradually converting to byte-based interfaces, as they are > easier to reason about than sector-based. Convert all uses of > the cluster size in sectors, along with adding assertions that we > are not dividing by zero. > > Improve some comment gramm

[Qemu-block] [PATCH v6 05/20] iscsi: Switch cluster_sectors to byte-based

2017-12-07 Thread Eric Blake
We are gradually converting to byte-based interfaces, as they are easier to reason about than sector-based. Convert all uses of the cluster size in sectors, along with adding assertions that we are not dividing by zero. Improve some comment grammar while in the area. Signed-off-by: Eric Blake A