Re: Patch to issue pure flushes directly (Was: Re: [PATCH v6 0/4]ext4: Coordinate data-only flush requests sent) by fsync

From: Tejun Heo
Date: Sat Jan 08 2011 - 09:08:12 EST


Hello,

On Sat, Jan 08, 2011 at 08:45:24AM +0100, Christoph Hellwig wrote:
> On Fri, Jan 07, 2011 at 06:54:49PM -0500, Ted Ts'o wrote:
> > This patch seemed like a good idea to me; I just checked linux-next,
> > and looks like nothing like this is planned to be merged. Just
> > thought I would send a prod-o-gram to see what the current thinking
> > was around adding something like this.
>
> I haven't really gotten any feedback on the patch, so it fell on the
> floor for a while. I've managed to get some big system resources to
> test the impact of it, and once I've got numbers I'll resend it as
> separate patches for scsi and the block layer.

But would it actually make any difference? It's not like the usual
completion path in the optimized case is much longer. It will set all
the skip bits, try to determine the next step which is completion and
then complete the flush request. It'll sure occupy the CPU for a
little bit longer but I don't think it will be anything measureable.
Is there a workload that this can actually help?

Thanks.

--
tejun
--
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/