Re: [PATCH] Btrfs: fix submit_worker congestion
On Tue, Nov 29, 2011 at 09:40:56PM +0100, Arne Jansen wrote:
> Write bios are submitted from the submit_worker. The worker pumps down
> bios into the block layer until it signals a congestion. At least this
> is the theory. In pratice submit_bio just blocks before any signalling
> happens. As the bios are queued per device, this can lead to a situation
> where only one device is served until all bios are submitted, and only
> then the next device is served. This is obviously suboptimal.
> This patch just throws out the congestion detection and reschedules the
> worker every 8 requests. This way, all devices can be kept busy.
> This is only a temporary fix until the block layer provides a non-blocking
> submit_bio. Then the whole submit_worker mechanism can be killed.
Could you please try the top commit in for-linus instead? It seems to
be helping here, although I wasn't able to trigger the same problems you
reported.
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux NFS]
[Linux NILFS]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]