Re: pnfs LD partial sector write

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




On Thu, Jul 26, 2012 at 8:16 PM, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
> On 07/26/2012 11:25 AM, Peng Tao wrote:
>
>> For these two sectors, I need to allocate two pages... Just look at
>> struct bio_vec.
>>
>
>
> NO! I know all about bio_vecs
>
> You need 1024 bytes, and 2 x one entry BIOs which is a few bytes, where
> did you get the "two pages" from?
>
What do you put int bio_vec->bv_page? Even if you just use 512 bytes
of a page, it is still allocated page.

-- 
Thanks,
Tao
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Photo]     [Yosemite Info]    [Yosemite Photos]    [POF Sucks]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux