TS-5082: define IOBufferReader::is_read_avail_more_than with TS_INLINE keyword#1252
TS-5082: define IOBufferReader::is_read_avail_more_than with TS_INLINE keyword#1252oknet merged 1 commit intoapache:masterfrom
Conversation
|
FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1254/ for details. |
|
Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1149/ for details. |
|
Hmmm, it seems we are incredibly inconsistent here. Why singling out this one place for this change? Do we really need TS_INLINE in general? I notice we turn off inlining via #define in some places, but then I'd argue that we should not use it at all in those place, no? I think what I'm saying is
I'm fine landing this as-is in this patch, but maybe file another Jira for a general cleanup here? |
zwoop
left a comment
There was a problem hiding this comment.
See large comment on the bigger picture. But +1.
|
From my understand:
I don't know the reasons about the TS_INLINE macro, this case only fix the compile error. |
|
A function of Event System and it is defined with TS_INLINE, e.g. bool is_read_avail_more_than()
|
|
Do I have to backport it to 6.2.x and 7.0.x ? @zwoop |
No description provided.