Skip to content
Snippets Groups Projects
Commit 2a50b6bf authored by Mikhail Pershin's avatar Mikhail Pershin Committed by Oleg Drokin
Browse files

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: default avatarMikhail Pershin <tappro@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1621


Tested-by: Hudson
Tested-by: default avatarMaloo <whamcloud.maloo@gmail.com>
Reviewed-by: default avatarAlex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
parent 8afd35ce
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment