1. 13 10月, 2008 2 次提交
    • M
      [SCSI] block: separate failfast into multiple bits. · 6000a368
      Mike Christie 提交于
      Multipath is best at handling transport errors. If it gets a device
      error then there is not much the multipath layer can do. It will just
      access the same device but from a different path.
      
      This patch breaks up failfast into device, transport and driver errors.
      The multipath layers (md and dm mutlipath) only ask the lower levels to
      fast fail transport errors. The user of failfast, read ahead, will ask
      to fast fail on all errors.
      
      Note that blk_noretry_request will return true if any failfast bit
      is set. This allows drivers that do not support the multipath failfast
      bits to continue to fail on any failfast error like before. Drivers
      like scsi that are able to fail fast specific errors can check
      for the specific fail fast type. In the next patch I will convert
      scsi.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      6000a368
    • A
      add key_revoke() dummy for KEYS=n · 0dab9cfa
      Adrian Bunk 提交于
      This fixes the following build error with CONFIG_KEYS=n, caused by
      commit dfd15c46 ("cifs: explicitly
      revoke SPNEGO key after session setup"):
      
          CC [M]  fs/cifs/sess.o
        fs/cifs/sess.c: In function 'CIFS_SessSetup':
        fs/cifs/sess.c:628: error: implicit declaration of function 'key_revoke'
        make[3]: *** [fs/cifs/sess.o] Error 1
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0dab9cfa
  2. 12 10月, 2008 3 次提交
  3. 11 10月, 2008 35 次提交