Re: [Question] IO is split by block layer when size is larger than 4k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, thanks for the clarification.
I mean each bvec consists of one page.
It's not good for virtio backend.

Hannes Reinecke <hare@xxxxxxx> 于2020年3月12日周四 下午7:51写道:
>
> On 3/12/20 12:13 PM, Feng Li wrote:
> > Hi experts,
> >
> > May I ask a question about block layer?
> > When running fio in guest os, I find a 256k IO is split into the page
> > by page in bio, saved in bvecs.
> > And virtio-blk just put the bio_vec one by one in the available
> > descriptor table.
> >
> It isn't 'split', it's using _one_ bio containing bvecs, where each bvec
> consists of one page.
>
> 'split' for the blocklayer means that a single I/O is split into several
> bios, which I dont' think is the case here. Or?
>
> Cheers,
>
> Hannes
> --
> Dr. Hannes Reinecke                        Kernel Storage Architect
> hare@xxxxxxx                                      +49 911 74053 688
> SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
> HRB 36809 (AG Nürnberg), GF: Felix Imendörffer




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux