[LU-795] per-transaction commit callbacks (ORI-107 port) Created: 27/Oct/11  Updated: 24/Nov/12  Resolved: 24/Nov/12

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.2.0

Type: Bug Priority: Minor
Reporter: Mikhail Pershin Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 4850

 Description   

Port from orion branch to fix issue with synchronous SEQ update found by mds_survey runs.

  • 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


 Comments   
Comment by Mikhail Pershin [ 27/Oct/11 ]

http://review.whamcloud.com/#change,1621

Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/mdd/mdd_device.c
  • lustre/ptlrpc/target.c
  • lustre/mdd/mdd_trans.c
  • lustre/include/lu_target.h
  • lustre/fid/fid_handler.c
  • lustre/fid/fid_store.c
  • lustre/include/dt_object.h
  • lustre/mdd/mdd_internal.h
  • lustre/mdt/mdt_handler.c
  • lustre/mdt/mdt_recovery.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdd/mdd_object.c
  • lustre/mdt/mdt_internal.h
  • lustre/obdclass/dt_object.c
  • lustre/include/lustre_fid.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/mdt/mdt_internal.h
  • lustre/mdd/mdd_trans.c
  • lustre/fid/fid_handler.c
  • lustre/include/lustre_fid.h
  • lustre/include/dt_object.h
  • lustre/mdt/mdt_handler.c
  • lustre/mdd/mdd_object.c
  • lustre/obdclass/dt_object.c
  • lustre/ptlrpc/target.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdd/mdd_device.c
  • lustre/mdd/mdd_internal.h
  • lustre/mdt/mdt_recovery.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/fid/fid_store.c
  • lustre/include/lu_target.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/include/lu_target.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/obdclass/dt_object.c
  • lustre/include/lustre_fid.h
  • lustre/mdd/mdd_internal.h
  • lustre/mdd/mdd_trans.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/fid/fid_store.c
  • lustre/mdd/mdd_object.c
  • lustre/mdt/mdt_internal.h
  • lustre/mdt/mdt_recovery.c
  • lustre/include/dt_object.h
  • lustre/fid/fid_handler.c
  • lustre/mdd/mdd_device.c
  • lustre/ptlrpc/target.c
  • lustre/mdt/mdt_handler.c
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/include/lu_target.h
  • lustre/mdd/mdd_device.c
  • lustre/mdt/mdt_recovery.c
  • lustre/fid/fid_store.c
  • lustre/fid/fid_handler.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/ptlrpc/target.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdd/mdd_object.c
  • lustre/mdd/mdd_trans.c
  • lustre/mdt/mdt_handler.c
  • lustre/obdclass/dt_object.c
  • lustre/mdd/mdd_internal.h
  • lustre/include/lustre_fid.h
  • lustre/mdt/mdt_internal.h
  • lustre/include/dt_object.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/mdd/mdd_internal.h
  • lustre/mdt/mdt_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_object.c
  • lustre/obdclass/dt_object.c
  • lustre/ptlrpc/target.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdt/mdt_recovery.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdd/mdd_device.c
  • lustre/fid/fid_handler.c
  • lustre/mdd/mdd_trans.c
  • lustre/mdt/mdt_internal.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/ptlrpc/target.c
  • lustre/include/dt_object.h
  • lustre/obdclass/dt_object.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdd/mdd_trans.c
  • lustre/mdd/mdd_object.c
  • lustre/include/lustre_fid.h
  • lustre/mdt/mdt_internal.h
  • lustre/fid/fid_handler.c
  • lustre/mdt/mdt_recovery.c
  • lustre/mdd/mdd_internal.h
  • lustre/mdd/mdd_device.c
  • lustre/fid/fid_store.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdt/mdt_handler.c
  • lustre/include/lu_target.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/fid/fid_handler.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdd/mdd_object.c
  • lustre/fid/fid_store.c
  • lustre/mdt/mdt_handler.c
  • lustre/obdclass/dt_object.c
  • lustre/mdd/mdd_internal.h
  • lustre/include/lu_target.h
  • lustre/mdt/mdt_recovery.c
  • lustre/include/lustre_fid.h
  • lustre/mdd/mdd_trans.c
  • lustre/ptlrpc/target.c
  • lustre/mdt/mdt_internal.h
  • lustre/include/dt_object.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdd/mdd_device.c
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/mdt/mdt_internal.h
  • lustre/ptlrpc/target.c
  • lustre/include/dt_object.h
  • lustre/mdd/mdd_device.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdd/mdd_object.c
  • lustre/fid/fid_store.c
  • lustre/obdclass/dt_object.c
  • lustre/include/lu_target.h
  • lustre/include/lustre_fid.h
  • lustre/mdd/mdd_internal.h
  • lustre/fid/fid_handler.c
  • lustre/mdt/mdt_recovery.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdt/mdt_handler.c
  • lustre/mdd/mdd_trans.c
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/include/lustre_fid.h
  • lustre/include/dt_object.h
  • lustre/mdd/mdd_device.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/fid/fid_store.c
  • lustre/mdd/mdd_internal.h
  • lustre/mdd/mdd_trans.c
  • lustre/ptlrpc/target.c
  • lustre/fid/fid_handler.c
  • lustre/obdclass/dt_object.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdt/mdt_internal.h
  • lustre/mdd/mdd_object.c
  • lustre/include/lu_target.h
  • lustre/mdt/mdt_handler.c
  • lustre/mdt/mdt_recovery.c
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/obdclass/dt_object.c
  • lustre/mdd/mdd_trans.c
  • lustre/mdd/mdd_object.c
  • lustre/mdd/mdd_internal.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdt/mdt_internal.h
  • lustre/ptlrpc/target.c
  • lustre/fid/fid_store.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdt/mdt_recovery.c
  • lustre/mdt/mdt_handler.c
  • lustre/include/dt_object.h
  • lustre/include/lu_target.h
  • lustre/include/lustre_fid.h
  • lustre/fid/fid_handler.c
  • lustre/mdd/mdd_device.c
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdd/mdd_object.c
  • lustre/mdd/mdd_trans.c
  • lustre/mdt/mdt_recovery.c
  • lustre/fid/fid_handler.c
  • lustre/fid/fid_store.c
  • lustre/include/lu_target.h
  • lustre/mdd/mdd_device.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdt/mdt_handler.c
  • lustre/include/dt_object.h
  • lustre/include/lustre_fid.h
  • lustre/mdd/mdd_internal.h
  • lustre/ptlrpc/target.c
  • lustre/obdclass/dt_object.c
  • lustre/mdt/mdt_internal.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,server,el5,ofa #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdd/mdd_internal.h
  • lustre/mdd/mdd_trans.c
  • lustre/mdt/mdt_handler.c
  • lustre/mdt/mdt_recovery.c
  • lustre/fid/fid_handler.c
  • lustre/mdd/mdd_object.c
  • lustre/include/lu_target.h
  • lustre/ptlrpc/target.c
  • lustre/mdd/mdd_device.c
  • lustre/fid/fid_store.c
  • lustre/include/dt_object.h
  • lustre/mdt/mdt_internal.h
  • lustre/obdclass/dt_object.c
  • lustre/include/lustre_fid.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/mdd/mdd_device.c
  • lustre/fid/fid_store.c
  • lustre/mdt/mdt_handler.c
  • lustre/include/lu_target.h
  • lustre/include/dt_object.h
  • lustre/mdd/mdd_object.c
  • lustre/ptlrpc/target.c
  • lustre/include/lustre_fid.h
  • lustre/mdt/mdt_internal.h
  • lustre/obdclass/dt_object.c
  • lustre/fid/fid_handler.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/mdd/mdd_trans.c
  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdt/mdt_recovery.c
  • lustre/mdd/mdd_internal.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,client,el5,ofa #355
LU-795 osd api: Commit callback per transaction (Revision 2a50b6bf048517aa1f63c4e29c3637f09c148fdb)

Result = SUCCESS
Oleg Drokin : 2a50b6bf048517aa1f63c4e29c3637f09c148fdb
Files :

  • lustre/osd-ldiskfs/osd_internal.h
  • lustre/mdd/mdd_trans.c
  • lustre/mdt/mdt_recovery.c
  • lustre/mdd/mdd_internal.h
  • lustre/obdclass/dt_object.c
  • lustre/fid/fid_handler.c
  • lustre/mdt/mdt_handler.c
  • lustre/ptlrpc/target.c
  • lustre/fid/fid_store.c
  • lustre/include/dt_object.h
  • lustre/mdd/mdd_device.c
  • lustre/include/lu_target.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/include/lustre_fid.h
  • lustre/mdd/mdd_object.c
  • lustre/mdt/mdt_internal.h
Generated at Sat Feb 10 01:10:29 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.