1. 02 10月, 2017 1 次提交
  2. 21 6月, 2017 1 次提交
    • B
      block: Make most scsi_req_init() calls implicit · ca18d6f7
      Bart Van Assche 提交于
      Instead of explicitly calling scsi_req_init() after blk_get_request(),
      call that function from inside blk_get_request(). Add an
      .initialize_rq_fn() callback function to the block drivers that need
      it. Merge the IDE .init_rq_fn() function into .initialize_rq_fn()
      because it is too small to keep it as a separate function. Keep the
      scsi_req_init() call in ide_prep_sense() because it follows a
      blk_rq_init() call.
      
      References: commit 82ed4db4 ("block: split scsi_request out of struct request")
      Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Hannes Reinecke <hare@suse.com>
      Cc: Omar Sandoval <osandov@fb.com>
      Cc: Nicholas Bellinger <nab@linux-iscsi.org>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      ca18d6f7
  3. 02 6月, 2017 1 次提交
  4. 21 4月, 2017 2 次提交
  5. 28 2月, 2017 1 次提交
  6. 01 2月, 2017 1 次提交
    • C
      block: fold cmd_type into the REQ_OP_ space · aebf526b
      Christoph Hellwig 提交于
      Instead of keeping two levels of indirection for requests types, fold it
      all into the operations.  The little caveat here is that previously
      cmd_type only applied to struct request, while the request and bio op
      fields were set to plain REQ_OP_READ/WRITE even for passthrough
      operations.
      
      Instead this patch adds new REQ_OP_* for SCSI passthrough and driver
      private requests, althought it has to add two for each so that we
      can communicate the data in/out nature of the request.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      aebf526b
  7. 28 1月, 2017 1 次提交
  8. 28 9月, 2016 1 次提交
  9. 14 7月, 2016 1 次提交
  10. 21 6月, 2016 1 次提交
  11. 14 6月, 2016 1 次提交
  12. 18 3月, 2016 2 次提交
  13. 10 10月, 2015 1 次提交
  14. 05 5月, 2015 1 次提交
    • C
      nfsd/blocklayout: pretend we can send deviceid notifications · 40cdc7a5
      Christoph Hellwig 提交于
      Commit df52699e ("NFSv4.1: Don't cache deviceids that have no
      notifications") causes the Linux NFS client to stop caching deviceid's
      unless a server pretends to support deviceid notifications.  While this
      behavior is stupid and the language around this area in rfc5661 is a
      mess carified by an errata that I submittted, Trond insists on this
      behavior.  Not caching deviceids degrades block layout performance
      massively as a GETDEVICEINFO is fairly expensive.
      
      So add this hack to make the Linux client happy again.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      40cdc7a5
  15. 26 3月, 2015 1 次提交
  16. 05 2月, 2015 1 次提交
    • C
      nfsd: pNFS block layout driver · 8650b8a0
      Christoph Hellwig 提交于
      Add a small shim between core nfsd and filesystems to translate the
      somewhat cumbersome pNFS data structures and semantics to something
      more palatable for Linux filesystems.
      
      Thanks to Rick McNeal for the old prototype pNFS blocklayout server
      code, which gave a lot of inspiration to this version even if no
      code is left from it.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      8650b8a0