lkml.org 
[lkml]   [2011]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: add GENHD_FL_UNPARTITIONABLE
On Sat, 13 August 2011 Tejun Heo <tj@kernel.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


\
 
 \ /
  Last update: 2011-08-14 10:43    [W:0.243 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site