1. 13 3月, 2015 1 次提交
  2. 04 2月, 2015 8 次提交
  3. 22 1月, 2015 1 次提交
  4. 13 11月, 2014 1 次提交
  5. 14 10月, 2014 1 次提交
  6. 13 9月, 2014 1 次提交
  7. 13 7月, 2014 1 次提交
  8. 25 6月, 2014 3 次提交
  9. 29 5月, 2014 6 次提交
  10. 07 5月, 2014 4 次提交
  11. 14 1月, 2014 7 次提交
  12. 06 1月, 2014 1 次提交
  13. 25 10月, 2013 1 次提交
  14. 30 7月, 2013 1 次提交
    • K
      aio: Kill aio_rw_vect_retry() · 73a7075e
      Kent Overstreet 提交于
      This code doesn't serve any purpose anymore, since the aio retry
      infrastructure has been removed.
      
      This change should be safe because aio_read/write are also used for
      synchronous IO, and called from do_sync_read()/do_sync_write() - and
      there's no looping done in the sync case (the read and write syscalls).
      Signed-off-by: NKent Overstreet <koverstreet@google.com>
      Cc: Zach Brown <zab@redhat.com>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Asai Thambi S P <asamymuthupa@micron.com>
      Cc: Selvan Mani <smani@micron.com>
      Cc: Sam Bradshaw <sbradshaw@micron.com>
      Cc: Jeff Moyer <jmoyer@redhat.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Benjamin LaHaise <bcrl@kvack.org>
      Signed-off-by: NBenjamin LaHaise <bcrl@kvack.org>
      73a7075e
  15. 13 12月, 2012 2 次提交
    • J
      nfs: fix page dirtying in NFS DIO read codepath · be7e9858
      Jeff Layton 提交于
      The NFS DIO code will dirty pages that catch read responses in order to
      handle the case where someone is doing DIO reads into an mmapped buffer.
      The existing code doesn't really do the right thing though since it
      doesn't take into account the case where we might be attempting to read
      past the EOF.
      
      Fix the logic in that code to only dirty pages that ended up receiving
      data from the read. Note too that it really doesn't matter if
      NFS_IOHDR_ERROR is set or not. All that matters is if the page was
      altered by the read.
      
      Cc: Fred Isaman <iisaman@netapp.com>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      be7e9858
    • J
      nfs: don't zero out the rest of the page if we hit the EOF on a DIO READ · 67fad106
      Jeff Layton 提交于
      Eryu provided a test program that would segfault when attempting to read
      past the EOF on file that was opened O_DIRECT. The buffer given to the
      read() call was on the stack, and when he attempted to read past it it
      would scribble over the rest of the stack page.
      
      If we hit the end of the file on a DIO READ request, then we don't want
      to zero out the rest of the buffer. These aren't pagecache pages after
      all, and there's no guarantee that the buffers that were passed in
      represent entire pages.
      
      Cc: <stable@vger.kernel.org> # v3.5+
      Cc: Fred Isaman <iisaman@netapp.com>
      Reported-by: NEryu Guan <eguan@redhat.com>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      67fad106
  16. 09 10月, 2012 1 次提交