1. 30 5月, 2011 5 次提交
    • B
      pnfs: Use byte-range for cb_layoutrecall · 778b5502
      Benny Halevy 提交于
      Use recalled range to invalidate particular layout segments in the layout cache.
      Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
      778b5502
    • B
      pnfs: Use byte-range for layoutget · fb3296eb
      Benny Halevy 提交于
      Add offset and count parameters to pnfs_update_layout and use them to get
      the layout in the pageio path.
      
      Order cache layout segments in the following order:
      * offset (ascending)
      * length (descending)
      * iomode (RW before READ)
      
      Test byte range against the layout segment in use in pnfs_{read,write}_pg_test
      so not to coalesce pages not using the same layout segment.
      
      [fix lseg ordering]
      [clean up pnfs_find_lseg lseg arg]
      [remove unnecessary FIXME]
      [fix ordering in pnfs_insert_layout]
      [clean up pnfs_insert_layout]
      Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
      fb3296eb
    • B
      NFSv4.1: use layout driver in global device cache · 35c8bb54
      Benny Halevy 提交于
      pnfs deviceids are unique per server, per layout type.
      struct nfs_client is currently used to distinguish deviceids from
      different nfs servers, yet these may clash between different layout
      types on the same server.  Therefore, use the layout driver associated
      with each deviceid at insertion time to look it up, unhash, or
      delete it.
      Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
      35c8bb54
    • M
      pnfs: CB_NOTIFY_DEVICEID · 1be5683b
      Marc Eshel 提交于
      Note: This functionlaity is incomplete as all layout segments referring to
      the 'to be removed device id' need to be reaped, and all in flight I/O drained.
      
      [use be32 res in nfs4_callback_devicenotify]
      [use nfs_client to qualify deviceid for cb_notify_deviceid]
      [use global deviceid cache for CB_NOTIFY_DEVICEID]
      [refactor device cache _lookup_deviceid]
      [refactor device cache _find_get_deviceid]
      Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
      [Bug in new global-device-cache code]
      [layout_driver MUST set free_deviceid_node if using dev-cache]
      Signed-off-by: NBoaz Harrosh <bharrosh@panasas.com>
      Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
      1be5683b
    • B
      NFSv4.1: purge deviceid cache on nfs_free_client · 1775bc34
      Benny Halevy 提交于
      Use the pnfs_layoutdriver_type both as a qualifier for the deviceid,
      distinguishing deviceid from different layout types on the server,
      and for freeing the layout-driver allocated structure containing the
      nfs4_deviceid_node.
      
      [BUG in _deviceid_purge_client]
      [layout_driver MUST set free_deviceid_node if using dev-cache]
      [let ver < 4.1 compile]
      Signed-off-by: NBoaz Harrosh <bharrosh@panasas.com>
      [removed EXPORT_SYMBOL_GPL(nfs4_deviceid_purge_client)]
      Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
      1775bc34
  2. 29 5月, 2011 2 次提交
  3. 12 5月, 2011 1 次提交
  4. 25 3月, 2011 2 次提交
  5. 24 3月, 2011 2 次提交
  6. 12 3月, 2011 7 次提交
  7. 07 1月, 2011 8 次提交
  8. 25 10月, 2010 6 次提交