1. 23 7月, 2016 1 次提交
  2. 16 7月, 2016 5 次提交
  3. 18 3月, 2016 1 次提交
    • C
      nfs/blocklayout: add SCSI layout support · d9186c03
      Christoph Hellwig 提交于
      This is a trivial extension to the block layout driver to support the
      new SCSI layouts draft.  There are three changes:
      
       - device identifcation through the SCSI VPD page.  This allows us to
         directly use the udev generated persistent device names instead of
         requiring an expensive lookup by crawling every block device node
         in /dev and reading a signature for it.
       - use of SCSI persistent reservations to protect device access and
         allow for robust fencing.  On the client sides this just means
         registering and unregistering a server supplied key.
       - an optimized LAYOUTCOMMIT payload that doesn't send unessecary
         fields to the server.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Acked-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      d9186c03
  4. 18 8月, 2015 2 次提交
  5. 28 3月, 2015 1 次提交
  6. 22 9月, 2014 1 次提交
  7. 13 9月, 2014 1 次提交
    • C
      pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing · 5c83746a
      Christoph Hellwig 提交于
      This patches moves parsing of the GETDEVICEINFO XDR to kernel space, as well
      as the management of complex devices.  The reason for that is we might have
      multiple outstanding complex devices after a NOTIFY_DEVICEID4_CHANGE, which
      device mapper or md can't handle as they claim devices exclusively.
      
      But as is turns out simple striping / concatenation is fairly trivial to
      implement anyway, so we make our life simpler by reducing the reliance
      on blkmapd.  For now we still use blkmapd by feeding it synthetic SIMPLE
      device XDR to translate device signatures to device numbers, but in the
      long runs I have plans to eliminate it entirely.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      5c83746a