[PATCH 1/3] switch sdev sysfs attributes to default attributes

2007-09-20 Thread Hannes Reinecke
With the current target allocation code a target is registered with sysfs for each possible target; it will be deleted again if no useable LUN on this target is found. This results in a lot of 'target add/target remove' uevents. This patch reworks the target allocation code so that only uevents fo

Re: switch sdev sysfs attributes to default attributes

2007-09-13 Thread Kay Sievers
On Thu, 2007-09-13 at 14:29 +0100, Christoph Hellwig wrote: > On Tue, Sep 11, 2007 at 05:00:14PM +0200, Kay Sievers wrote: > > From: Kay Sievers <[EMAIL PROTECTED]> > > Subject: [SCSI] switch sdev sysfs attributes to default attributes > > > > This removes the u

Re: switch sdev sysfs attributes to default attributes

2007-09-13 Thread Christoph Hellwig
On Tue, Sep 11, 2007 at 05:00:14PM +0200, Kay Sievers wrote: > From: Kay Sievers <[EMAIL PROTECTED]> > Subject: [SCSI] switch sdev sysfs attributes to default attributes > > This removes the unused sysfs attribute overwriting logic for most of > the attributes, and plugs them

switch sdev sysfs attributes to default attributes

2007-09-11 Thread Kay Sievers
From: Kay Sievers <[EMAIL PROTECTED]> Subject: [SCSI] switch sdev sysfs attributes to default attributes This removes the unused sysfs attribute overwriting logic for most of the attributes, and plugs them into the driver core default attribute creation. Without this patch, at the time