public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] cciss: fix sysfs broken symlink regression
@ 2008-10-27 21:01 Mike Miller
  2008-10-27 21:29 ` Andrew Morton
  2008-10-28 23:14 ` Rafael J. Wysocki
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Miller @ 2008-10-27 21:01 UTC (permalink / raw)
  To: Andrew Morton, Jens Axboe; +Cc: LKML, LKML-scsi

Patch 1 of 2

Regression introduced by commit 6ae5ce8e8d4de666f31286808d2285aa6a50fa40.
This patch fixes a broken symlink in sysfs that was introduced by the above
commit also called "cciss: remove redundant code." We broke it in 2.6.27-rc
on or about 20080804. Some installers are broken if this symlink does not
exist and they may not detect the logical drives configured on the
controller.
It does not require being backported into 2.6.26.x or earlier kernels.

Please consider this for inclusion.

Andrew, do I need to resubmit 2 of 2? Or is that one still in your queue?

Signed-off-by: Mike Miller <mike.miller@hp.com>

diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 1e1f915..0f367b1 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1365,6 +1365,7 @@ static void cciss_add_disk(ctlr_info_t *h, struct gendisk *disk,
 	disk->first_minor = drv_index << NWD_SHIFT;
 	disk->fops = &cciss_fops;
 	disk->private_data = &h->drv[drv_index];
+	disk->driverfs_dev = &h->pdev->dev;
 
 	/* Set up queue information */
 	blk_queue_bounce_limit(disk->queue, h->pdev->dma_mask);

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] cciss: fix sysfs broken symlink regression
  2008-10-27 21:01 [PATCH 1/2] cciss: fix sysfs broken symlink regression Mike Miller
@ 2008-10-27 21:29 ` Andrew Morton
  2008-10-27 21:32   ` Miller, Mike (OS Dev)
  2008-10-28 23:14 ` Rafael J. Wysocki
  1 sibling, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2008-10-27 21:29 UTC (permalink / raw)
  To: Mike Miller; +Cc: jens.axboe, linux-kernel, linux-scsi

On Mon, 27 Oct 2008 16:01:36 -0500
Mike Miller <mike.miller@hp.com> wrote:

> Patch 1 of 2
> 
> Regression introduced by commit 6ae5ce8e8d4de666f31286808d2285aa6a50fa40.
> This patch fixes a broken symlink in sysfs that was introduced by the above
> commit also called "cciss: remove redundant code." We broke it in 2.6.27-rc
> on or about 20080804. Some installers are broken if this symlink does not
> exist and they may not detect the logical drives configured on the
> controller.
> It does not require being backported into 2.6.26.x or earlier kernels.

OK, thanks, I tagged it for 2.6.27.x.

> Please consider this for inclusion.
> 
> Andrew, do I need to resubmit 2 of 2? Or is that one still in your queue?
> 

What's 2 of 2?

cciss patches which I presently have queued are:

cciss-fix-regression-firmware-not-displayed-in-procfs-again-and-again.patch
cciss-new-hardware-support.patch
cciss-fix-sysfs-broken-symlink-regression.patch


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/2] cciss: fix sysfs broken symlink regression
  2008-10-27 21:29 ` Andrew Morton
@ 2008-10-27 21:32   ` Miller, Mike (OS Dev)
  0 siblings, 0 replies; 4+ messages in thread
From: Miller, Mike (OS Dev) @ 2008-10-27 21:32 UTC (permalink / raw)
  To: Andrew Morton
  Cc: jens.axboe@oracle.com, linux-kernel@vger.kernel.org,
	linux-scsi@vger.kernel.org



> -----Original Message-----
> From: Andrew Morton [mailto:akpm@linux-foundation.org]
> Sent: Monday, October 27, 2008 4:30 PM
> To: Miller, Mike (OS Dev)
> Cc: jens.axboe@oracle.com; linux-kernel@vger.kernel.org;
> linux-scsi@vger.kernel.org
> Subject: Re: [PATCH 1/2] cciss: fix sysfs broken symlink regression
>
> On Mon, 27 Oct 2008 16:01:36 -0500
> Mike Miller <mike.miller@hp.com> wrote:
>
> > Patch 1 of 2
> >
> > Regression introduced by commit
> 6ae5ce8e8d4de666f31286808d2285aa6a50fa40.
> > This patch fixes a broken symlink in sysfs that was
> introduced by the
> > above commit also called "cciss: remove redundant code." We
> broke it
> > in 2.6.27-rc on or about 20080804. Some installers are
> broken if this
> > symlink does not exist and they may not detect the logical drives
> > configured on the controller.
> > It does not require being backported into 2.6.26.x or
> earlier kernels.
>
> OK, thanks, I tagged it for 2.6.27.x.
>
> > Please consider this for inclusion.
> >
> > Andrew, do I need to resubmit 2 of 2? Or is that one still
> in your queue?
> >
>
> What's 2 of 2?
>
> cciss patches which I presently have queued are:
>
> cciss-fix-regression-firmware-not-displayed-in-procfs-again-an
d-again.patch

This is patch 2 of 2.

> cciss-new-hardware-support.patch
> cciss-fix-sysfs-broken-symlink-regression.patch
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] cciss: fix sysfs broken symlink regression
  2008-10-27 21:01 [PATCH 1/2] cciss: fix sysfs broken symlink regression Mike Miller
  2008-10-27 21:29 ` Andrew Morton
@ 2008-10-28 23:14 ` Rafael J. Wysocki
  1 sibling, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2008-10-28 23:14 UTC (permalink / raw)
  To: Mike Miller; +Cc: Andrew Morton, Jens Axboe, LKML, LKML-scsi

On Monday, 27 of October 2008, Mike Miller wrote:
> Patch 1 of 2
> 
> Regression introduced by commit 6ae5ce8e8d4de666f31286808d2285aa6a50fa40.
> This patch fixes a broken symlink in sysfs that was introduced by the above
> commit also called "cciss: remove redundant code." We broke it in 2.6.27-rc
> on or about 20080804. Some installers are broken if this symlink does not
> exist and they may not detect the logical drives configured on the
> controller.
> It does not require being backported into 2.6.26.x or earlier kernels.
> 
> Please consider this for inclusion.
> 
> Andrew, do I need to resubmit 2 of 2? Or is that one still in your queue?
> 
> Signed-off-by: Mike Miller <mike.miller@hp.com>
> 
> diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
> index 1e1f915..0f367b1 100644
> --- a/drivers/block/cciss.c
> +++ b/drivers/block/cciss.c
> @@ -1365,6 +1365,7 @@ static void cciss_add_disk(ctlr_info_t *h, struct gendisk *disk,
>  	disk->first_minor = drv_index << NWD_SHIFT;
>  	disk->fops = &cciss_fops;
>  	disk->private_data = &h->drv[drv_index];
> +	disk->driverfs_dev = &h->pdev->dev;
>  
>  	/* Set up queue information */
>  	blk_queue_bounce_limit(disk->queue, h->pdev->dma_mask);
> --

Is this a patch for bug #11404 or for another regression?

Rafael

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-28 23:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27 21:01 [PATCH 1/2] cciss: fix sysfs broken symlink regression Mike Miller
2008-10-27 21:29 ` Andrew Morton
2008-10-27 21:32   ` Miller, Mike (OS Dev)
2008-10-28 23:14 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox