linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Clemens Fruhwirth <clemens@endorphin.org>
Cc: linux-scsi@vger.kernel.org, grundler@google.com
Subject: Re: [PATCH] Forcing capacity sizes for block devices
Date: Sun, 20 Dec 2009 18:43:40 +0100	[thread overview]
Message-ID: <200912201843.40169.bzolnier@gmail.com> (raw)
In-Reply-To: <2f83750a0912200405v77f39a7eifef024cc4cb10a20@mail.gmail.com>

On Sunday 20 December 2009 01:05:35 pm Clemens Fruhwirth wrote:
> Make the size attribute of block devices writable via sysfs. This
> allows userspace to force
> device boundaries in cases where the device driver is unable to detect
> the correct size, as
> with spec-incompliant SD card readers. Also see
> http://marc.info/?t=125555550200010&r=1&w=2

Just a wild idea but maybe the current block infrastructure for handling
ATA HPA (see commit db429e9 and e957b60 one) can be used to automatically
detect and workaround the issue?  
--
Bartlomiej Zolnierkiewicz

  parent reply	other threads:[~2009-12-20 17:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-20 12:05 [PATCH] Forcing capacity sizes for block devices Clemens Fruhwirth
2009-12-20 13:19 ` [PATCH] Forcing capacity sizes for block devices - (sorry, gmail ruined inlining with wordwrapping in the last mail) Clemens Fruhwirth
2009-12-20 17:43 ` Bartlomiej Zolnierkiewicz [this message]
2009-12-21 20:04   ` [PATCH] Forcing capacity sizes for block devices Grant Grundler
2009-12-21 21:59     ` Bartlomiej Zolnierkiewicz
2009-12-22 20:15       ` Grant Grundler
     [not found]       ` <2f83750a0912240503g3aa7bcbw876a164d0e350b27@mail.gmail.com>
2009-12-24 13:40         ` Clemens Fruhwirth
2010-01-25 14:49           ` Clemens Fruhwirth

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=200912201843.40169.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=clemens@endorphin.org \
    --cc=grundler@google.com \
    --cc=linux-scsi@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;
as well as URLs for NNTP newsgroup(s).