[LU-9523] unravel #DEFINEs in cl_page.c Created: 17/May/17  Updated: 07/Jun/17  Resolved: 07/Jun/17

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

Type: Improvement Priority: Minor
Reporter: Ben Evans (Inactive) Assignee: Ben Evans (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: cleanup
Rank (Obsolete): 9223372036854775807

 Description   

CL_PAGE_INVOKE, CL_PAGE_INVOID and CL_PAGE_INVOID_REVERSE all simply call list_for_each_entry (or list_for_each_entry_reverse) and call one of the functions from cl_page_operations.

It's much simpler and easy to read to unroll these #defines, along with CL_PAGE_OP and use the correct code.



 Comments   
Comment by Gerrit Updater [ 17/May/17 ]

Ben Evans (bevans@cray.com) uploaded a new patch: https://review.whamcloud.com/27168
Subject: LU-9523 obdclass: remove CL_PAGE_INVOKE et. al.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2fc985c2f20cfa59a5db9041576cd36453a05eed

Comment by Gerrit Updater [ 07/Jun/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27168/
Subject: LU-9523 obdclass: remove CL_PAGE_INVOKE et. al.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 603557c13111f188d51a1e7983343471e4a5cf71

Comment by Peter Jones [ 07/Jun/17 ]

Landed for 2.10

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