Re: [PATCH] sr: Ensure disk is revalidated when media changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (Wed) 06 Apr 2011 [03:06:20], Tejun Heo wrote:
> On Tue, Apr 05, 2011 at 12:21:30PM +0530, Amit Shah wrote:
> > > But I don't think this is the correct place to do it.  The problem
> > > happens because block layer consumes the event but doesn't remember it
> > > when the time for revalidation comes.  It should be done by block
> > > layer, not sr.  Hmmm... looking at the code, the new disk event code
> > > should handle this correctly.  Was 2.6.38 showing the problem too?
> > 
> > Yes, 2.6.38 shows the same problem.  I went back to ancient kernels
> > (2.6.31 on Fedora 11-alpha) which had the previous media_changed
> > infrastructure and those places too show the same behaviour (with the
> > TEST_UNIT_READY way of detecting media changes).
> 
> Can you please the patch attached in the following bz and see whether
> it makes any difference?
> 
>  https://bugzilla.kernel.org/show_bug.cgi?id=13029

Yes, this works.

You can add Tested-by: Amit Shah <amit.shah@xxxxxxxxxx>

Thanks!

		Amit
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux