Re: [PATCH 3/3] mmc_block: fix queue cleanup

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

 



On Fri, 18 Dec 2009 14:15:48 +0200
Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:

> The main bug was that 'blk_cleanup_queue()' was called while
> the block device could still be in use, for example, because
> the card was removed while files were still open.
> 
> In addition, to be sure that 'mmc_request()' will get called
> for all new requests (so it can error them out), the queue is
> emptied during cleanup.  This is done after the worker thread
> is stopped to avoid racing with it.
> 
> Finally, it is not a device error for this to be happening, so
> quiet the (sometimes very many) error messages.

What nice changelogs.

Thanks, I tagged all three patches for a 2.6.32.x backport.  They do
appear to be applicable to 2.6.31 and perhaps earlier, also.

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

[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux