Re: [PATCH] aio: partial write should not return error code.

From: Zach Brown
Date: Fri Jan 04 2008 - 13:19:49 EST



>
> No, that's fine, here is the new one:
>
> When an AIO write gets a non-retry error after writing some data
> (eg. ENOSPC), it should return the amount written already, not the
> error. Just like write() is supposed to.
>
> This was found by the libaio test suite.
>
> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

This looks good, feel free to push this from your tree.

Acked-By: Zach Brown <zach.brown@xxxxxxxxxx>

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