[LU-7918] remove unnecessary declarations in MDD and TGT Created: 24/Mar/16  Updated: 01/Oct/16  Resolved: 02/Jun/16

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

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

Issue Links:
Blocker
is blocking LU-7895 zfs metadata performance improvements Resolved
Related
Rank (Obsolete): 9223372036854775807

 Description   

we don't need to declare new attributes during a file creation - we'll set them as part of dt_create(). also, we can save two declarations in tgt_txn_start_cb().

with this a single-striped file needs ~6MB of disk and memory reserved while before we had to reserve ~33MB.
if we could save on dnode accounting, then we'd save another 3MB.



 Comments   
Comment by Gerrit Updater [ 24/Mar/16 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/19132
Subject: LU-7918 mdd: no need to declare attr_set at create
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7c5c929faa7ac7ae2e47af9c79a6e0943a6c4017

Comment by Gerrit Updater [ 02/Jun/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19132/
Subject: LU-7918 mdd: no need to declare attr_set at create
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4da593b06db960e5afef64e175d7e19281063e56

Comment by Peter Jones [ 02/Jun/16 ]

Landed for 2.9

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