Re: Conceptual questions about device driver

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

 



On Thu, Aug 01, 2013 at 02:55:42PM -0600, neha naik wrote:
> 2.  Also i want to understand what the device driver does say if in a
> multiple paged bio, some of the pages get written
>     and some don't, we send the error in the bio. But what about the pages
> it has already written??? It can't possibly
>     do anything about it, right?

What do you mean by multiple paged bio? A bio, broken down into bio_vec is
_always_ set of pages(or Am I missing something?), So, most of the time,you
_will_ have a bio containing multiple pages. What about other field of bio
structure; bi_idx, bi_size etc, Can we use those for partial completion?

!!amit

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux