mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus@drzeus.cx>
To: Adrian Hunter <ext-adrian.hunter@nokia.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] mmc_block: ensure all sectors that do not have errors are read
Date: Wed, 31 Dec 2008 18:21:35 +0100	[thread overview]
Message-ID: <20081231182135.57447238@mjolnir.drzeus.cx> (raw)
In-Reply-To: <494F7A02.2030302@nokia.com>

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

On Mon, 22 Dec 2008 13:29:06 +0200
Adrian Hunter <ext-adrian.hunter@nokia.com> wrote:

> Pierre Ossman wrote:
> > 
> > Unfortunately, there is no guarantee that the sg list will be sector
> > aligned.
> 
> OK.  I am curious though - do you know anywhere in the kernel that actually
> does submit I/O in buffers that are not aligned to 512?
> 

Not really, no. Not that I've gone digging.

> 
> From: Adrian Hunter <ext-adrian.hunter@nokia.com>
> Subject: [PATCH] mmc_block: ensure all sectors that do not have errors are read
> 
> If a card encounters an ECC error while reading a sector it will
> timeout.  Instead of reporting the entire I/O request as having
> an error, redo the I/O one sector at a time so that all readable
> sectors are provided to the upper layers.
> 
> Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
> ---

Queued up. Thanks for sticking through this somewhat long review
process. :)

Rgds
-- 
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      parent reply	other threads:[~2008-12-31 17:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 13:26 Adrian Hunter
2008-10-26 11:32 ` Pierre Ossman
2008-10-29 14:26   ` Adrian Hunter
2008-11-10  8:21     ` Adrian Hunter
2008-11-30 19:05     ` Pierre Ossman
2008-12-05 11:09       ` Adrian Hunter
2008-12-21 14:29         ` Pierre Ossman
2008-12-22 11:29           ` Adrian Hunter
2008-12-22 13:12             ` Bernd Eckenfels
2008-12-31 17:21             ` Pierre Ossman [this message]

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=20081231182135.57447238@mjolnir.drzeus.cx \
    --to=drzeus@drzeus.cx \
    --cc=ext-adrian.hunter@nokia.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®