Re: dd PATCH: add conv=direct

From: Andrew Morton
Date: Wed Apr 07 2004 - 15:03:14 EST


Andy Isaacson <adi@xxxxxxxxxxxxx> wrote:
>
> I claim that O_DIRECT on of= is important because you just plain *can
> not* do the minimal-sized IDE block scrub without it. I don't yet see a
> similar benefit to O_DIRECT on if= side.

If you want a block scrubber then write a block scrubber.

If you want to add O_DIRECT support to dd then it should be implemented
properly, and that means implementing it for both read and write.

In fact the user should be able to specify the read-O_DIRECT and the
write-O_DIRECT independently - if for no other reason than that the source
and dest filesytems may not both support O_DIRECT.
-
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/