Re: [PATCH 07/10] fs: make generic file read/write functions plug

From: Jens Axboe
Date: Wed Mar 09 2011 - 05:53:04 EST


On 2011-03-09 11:38, hch@xxxxxxxxxxxxx wrote:
> On Tue, Mar 08, 2011 at 01:38:08PM +0100, Jens Axboe wrote:
>> -#define DP_UNPLUG 8 /* equals REQ_UNPLUG */
>> +#define DP_UNPLUG 8 /* not used anymore */
>
> The way this is used might need some more review. It seems like DRBD is
> trying to propagate unplug requests over the wire, which is
> functionality we lose now.

But that use case is pretty questionable. The receiving end should just
do its own plugging, if it's beneficial.

>> + * The various wait functions, such as wait_on_writeback_range() will
>> + * ultimately call sync_page() which will ultimately call
>> + * blk_run_backing_dev(), which will end up unplugging the device queue.
>
> This comment describes code that doesn't exist anymore on your branch.

Thanks, I'll kill those.


--
Jens Axboe

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