[LU-2100] ofd batched precreation exceeds transaction on small devices Created: 07/Oct/12  Updated: 19/Apr/13  Resolved: 17/Dec/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: Lustre 2.4.0

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4387

 Description   

on small devices (like used with local configuration) and ldiskfs ofd batched pre-creation can exceed transaction causing a lot of messages like:

Lustre: 13034:0:(osd_handler.c:697:osd_trans_start()) lustre-OST0000: too many transaction credits (3191 > 1024)
LustreError: 13034:0:(osd_handler.c:708:osd_trans_start()) attr_set: 0, punch: 0, xattr_set: 0,
LustreError: 13034:0:(osd_handler.c:711:osd_trans_start()) create: 127, ref_add: 0, ref_del: 0, write: 1
LustreError: 13034:0:(osd_handler.c:714:osd_trans_start()) insert: 0, delete: 0, destroy: 0



 Comments   
Comment by Alex Zhuravlev [ 07/Oct/12 ]

I think osd_trans_start() can return an error and then ofd_precreate_objects() can tune ofd_precreate_batch

Comment by Alex Zhuravlev [ 12/Oct/12 ]

http://review.whamcloud.com/4262

Comment by Alex Zhuravlev [ 17/Dec/12 ]

landed

Generated at Sat Feb 10 01:22:22 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.