All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zach Brown <zach.brown@oracle.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: bcrl@kvack.org, linux-aio@kvack.org,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] aio: partial write should not return error code.
Date: Fri, 04 Jan 2008 10:19:17 -0800	[thread overview]
Message-ID: <477E78A5.2040404@oracle.com> (raw)
In-Reply-To: <200801041410.24297.rusty@rustcorp.com.au>


> 
> 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@rustcorp.com.au>

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

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

- z

      reply	other threads:[~2008-01-04 18:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03  9:04 [PATCH] aio: partial write should not return error code Rusty Russell
2008-01-03  9:04 ` [PATCH] aio: negative offset should return -EINVAL Rusty Russell
2008-01-03 20:17   ` Zach Brown
2008-01-03 20:04 ` [PATCH] aio: partial write should not return error code Zach Brown
2008-01-04  3:10   ` Rusty Russell
2008-01-04 18:19     ` Zach Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=477E78A5.2040404@oracle.com \
    --to=zach.brown@oracle.com \
    --cc=akpm@osdl.org \
    --cc=bcrl@kvack.org \
    --cc=linux-aio@kvack.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.