From: gmate.amit@gmail.com (Kumar Amit Mehta)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Conceptual questions about device driver
Date: Fri, 2 Aug 2013 11:25:54 +0530 [thread overview]
Message-ID: <20130802055554.GA2738@gmail.com> (raw)
In-Reply-To: <CAOb=_xJEY-CyspNnJPPWfmt+M5FpC4GUre2X8oh8r6Oo7c89mQ@mail.gmail.com>
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
next prev parent reply other threads:[~2013-08-02 5:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 20:55 Conceptual questions about device driver neha naik
2013-08-02 3:21 ` Greg Freemyer
2013-08-02 14:24 ` Valdis.Kletnieks at vt.edu
2013-08-02 5:32 ` Rajat Sharma
2013-08-02 19:56 ` Greg Freemyer
2013-08-02 21:10 ` neha naik
2013-08-02 22:33 ` Greg Freemyer
2013-08-02 5:55 ` Kumar Amit Mehta [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-08-03 3:55 Rajat Sharma
2013-08-03 4:39 Rajat Sharma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130802055554.GA2738@gmail.com \
--to=gmate.amit@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).