Re: rescan partitions returns EIO since 2.6.8

From: Martin Pool
Date: Tue Dec 14 2004 - 01:32:21 EST


On 6 Dec 2004, Andries Brouwer <Andries.Brouwer@xxxxxx> wrote:
> On Mon, Dec 06, 2004 at 11:47:22AM +1100, Martin Pool wrote:
> > On 5 Dec 2004, Andries.Brouwer@xxxxxx wrote:
> > To me it seems more correct that a request to read the partition table
> > should fail if the partition table can't be read.
>
> I do not view BLKRRPART as a request to read the partition table.
> It is a request to revalidate: "if the disk is in use, return EBUSY,
> otherwise, discard any old information, read any new information".
> If the disk is blank then there is no new information to read,
> that is not an error, and certainly not an I/O error.
>
> > if you really want to roll it back I won't object.
>
> Yes, I think I want to - am getting worried mail from people
> who very much dislike I/O errors on a brand-new disk.

OK, my mistake. Please take it out.

--
Martin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/