Whamcloud - gitweb
* Split struct niobuf into niobuf_local and niobuf_remote
authorpschwan <pschwan>
Fri, 17 May 2002 16:18:11 +0000 (16:18 +0000)
committerpschwan <pschwan>
Fri, 17 May 2002 16:18:11 +0000 (16:18 +0000)
commitb339c5a672ed7d20747bb3653ee72865835b4d08
tree741b343274408177046133bb90e6b85a489627e9
parent8dfe224dba672732bf6ea8d9be61dceda4af955d
* Split struct niobuf into niobuf_local and niobuf_remote
  - niobuf_remote is offset, length, xid, and flags
  - niobuf_local is all of the above, plus an address and sometimes a page
  - The former is sent across the network, the latter used internally

* Small ldlm fixes brought over from the (now-defunct) ldlm_testing branch
  - SMP deadlock fix
  - comment fix

* Bulk descriptor refactoring
  - You create a bulk descriptor and then n bulk pages that get hooked in
  - Pages sent all at once, optional callback per page
  - Another optional callback when the final ack has been received, although
    Eric tells me that elan doesn't guarantee packet ordering, so this needs
    revisited

* A few key bugfixes in the MDC/MDS/OSC/OST bulk code; these probably bit us if
  we sent it a signal during bulk processing

* A few LOV pieces (mostly in genops.c)
  - A temporary gen_multi_setup/cleanup to get the LOV rolling; it won't remain
    in this form

I've tested these fixes, but not exhaustively.
23 files changed:
lustre/include/linux/lustre_idl.h
lustre/include/linux/lustre_net.h
lustre/include/linux/obd.h
lustre/include/linux/obd_class.h
lustre/include/linux/obd_ext2.h
lustre/include/linux/obd_ost.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_request.c
lustre/lib/obd_pack.c
lustre/llite/file.c
lustre/llite/namei.c
lustre/mdc/mdc_reint.c
lustre/mdc/mdc_request.c
lustre/mds/handler.c
lustre/obdclass/genops.c
lustre/obdecho/echo.c
lustre/obdfilter/filter.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c
lustre/ptlrpc/client.c
lustre/ptlrpc/events.c
lustre/ptlrpc/niobuf.c
lustre/tests/llmount.sh