Whamcloud - gitweb
LU-795 osd api: Commit callback per transaction
authorMikhail Pershin <tappro@whamcloud.com>
Thu, 27 Oct 2011 04:03:33 +0000 (08:03 +0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 13 Nov 2011 20:07:47 +0000 (15:07 -0500)
commit2a50b6bf048517aa1f63c4e29c3637f09c148fdb
treeeeaf46519e002adab59397c6fa2a24d318e6e6ce
parent8afd35ce1073f52b45ddfe46164ac90c47288d3c
LU-795 osd api: Commit callback per transaction

- ability to add commit callback per transaction in addition to
  per-device hooks. Now it is much simpler if only commit callback
  is needed.
- rewrite commit callbacks for last_commit and new_client, add commit
  callback in seq manager
- cleanup not-needed code: old commit callbacks, txn_keys
- remove osd od_env_for_commit environment and env param from commit
  callbacks
- use th_sync to mark sync operations

Change-Id: If5f8f2a6d3cd2f3e77fd13c802213a181043a2d7
Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1621
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
16 files changed:
lustre/fid/fid_handler.c
lustre/fid/fid_store.c
lustre/include/dt_object.h
lustre/include/lu_target.h
lustre/include/lustre_fid.h
lustre/mdd/mdd_device.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_object.c
lustre/mdd/mdd_trans.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_recovery.c
lustre/obdclass/dt_object.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/ptlrpc/target.c