[LU-3172] call lustre_msg_get_opc() only once inside ost_handle() Created: 15/Apr/13 Updated: 03/May/13 Resolved: 03/May/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Nikitas Angelinas | Assignee: | James Nunez (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Rank (Obsolete): | 7732 |
| Description |
|
lustre_msg_get_opc() is called a few times inside ost_handle(); there is no real benefit from this, and we can just make one call when entering ost_handle(). There may be other occurrences in the source where this applies, apart from ost_handle(), but I am just making this change here for now, as this is a frequently-called function. |
| Comments |
| Comment by Nikitas Angelinas [ 15/Apr/13 ] |
|
a patch for master is at http://review.whamcloud.com/#change,6055 |
| Comment by Nikitas Angelinas [ 15/Apr/13 ] |
|
Xyratex MRP-698 |
| Comment by Nikitas Angelinas [ 03/May/13 ] |
|
Patch landed to master branch. |