[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110814104102.343713d2@neptune.home>
Date: Sun, 14 Aug 2011 10:41:02 +0200
From: Bruno Prémont <bonbons@...ux-vserver.org>
To: Tejun Heo <tj@...nel.org>
Cc: Jens Axboe <axboe@...nel.dk>, Kay Sievers <kay.sievers@...y.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] block: add GENHD_FL_UNPARTITIONABLE
On Sat, 13 August 2011 Tejun Heo <tj@...nel.org> wrote:
> There are cases where suppressing partition scan is useful - e.g. for
> lo devices and pseudo SATA devices which advertise to be a disk but
> get upset on partition scan (some port multiplier control devices show
> such behavior).
>
> This patch adds GENHD_FL_UNPARTITIONABLE which suppresses partition
> scan regardless of the number of possible partitions.
Hm, would be nice if this could be set automatically for multipathed
devices where active path is being controlled out-of-band (e.g. RDAC)
and the inactive path rejects all IO.
Big question is how to let the kernel know early enough as userspace
does not know about the device before kernel tries to probe partitions.
Probably it would have to be triggered on the scsi-host side.
Bruno
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists