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>
Showing
- lustre/fid/fid_handler.c 3 additions, 14 deletionslustre/fid/fid_handler.c
- lustre/fid/fid_store.c 46 additions, 29 deletionslustre/fid/fid_store.c
- lustre/include/dt_object.h 32 additions, 12 deletionslustre/include/dt_object.h
- lustre/include/lu_target.h 3 additions, 2 deletionslustre/include/lu_target.h
- lustre/include/lustre_fid.h 2 additions, 2 deletionslustre/include/lustre_fid.h
- lustre/mdd/mdd_device.c 1 addition, 1 deletionlustre/mdd/mdd_device.c
- lustre/mdd/mdd_internal.h 4 additions, 5 deletionslustre/mdd/mdd_internal.h
- lustre/mdd/mdd_object.c 9 additions, 5 deletionslustre/mdd/mdd_object.c
- lustre/mdd/mdd_trans.c 4 additions, 17 deletionslustre/mdd/mdd_trans.c
- lustre/mdt/mdt_handler.c 1 addition, 10 deletionslustre/mdt/mdt_handler.c
- lustre/mdt/mdt_internal.h 0 additions, 26 deletionslustre/mdt/mdt_internal.h
- lustre/mdt/mdt_recovery.c 22 additions, 41 deletionslustre/mdt/mdt_recovery.c
- lustre/obdclass/dt_object.c 5 additions, 12 deletionslustre/obdclass/dt_object.c
- lustre/osd-ldiskfs/osd_handler.c 35 additions, 29 deletionslustre/osd-ldiskfs/osd_handler.c
- lustre/osd-ldiskfs/osd_internal.h 0 additions, 8 deletionslustre/osd-ldiskfs/osd_internal.h
- lustre/ptlrpc/target.c 102 additions, 23 deletionslustre/ptlrpc/target.c
Loading
Please register or sign in to comment