1. 04 8月, 2011 2 次提交
    • B
      pnfs-obj: Bug when we are running out of bio · 20618b21
      Boaz Harrosh 提交于
      When we have a situation that the number of pages we want
      to encode is bigger then the size of the bio. (Which can
      currently happen only when all IO is going to a single device
      .e.g group_width==1) then the IO is submitted short and we
      report back only the amount of bytes we actually wrote/read
      and all is fine. BUT ...
      
      There was a bug that the current length counter was advanced
      before the fail to add the extra page, and we come to a situation
      that the CDB length was one-page longer then the actual bio size,
      which is of course rejected by the osd-target.
      
      While here also fix the bio size calculation, in the case
      that we received more then one group of devices.
      
      CC: Stable Tree <stable@kernel.org>
      Signed-off-by: NBoaz Harrosh <bharrosh@panasas.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      20618b21
    • H
      nfs: add missing prefetch.h include · 88c9e421
      Heiko Carstens 提交于
      Fix this compile error on s390:
      
        CC [M]  fs/nfs/blocklayout/blocklayout.o
      fs/nfs/blocklayout/blocklayout.c: In function 'bl_end_io_read':
      fs/nfs/blocklayout/blocklayout.c:201:4: error: implicit declaration of function 'prefetchw'
      
      Introduced with 9549ec01 "pnfsblock: bl_read_pagelist".
      
      Cc: Fred Isaman <iisaman@citi.umich.edu>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      88c9e421
  2. 01 8月, 2011 28 次提交
  3. 31 7月, 2011 2 次提交
  4. 27 7月, 2011 1 次提交
  5. 26 7月, 2011 3 次提交
  6. 21 7月, 2011 2 次提交
  7. 20 7月, 2011 2 次提交