You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net/rds: report pending-messages count in RDS_INQ response
RDS_CMSG_INQ response reports number of pending-bytes in the receive queue.
Exadata is using the RDS interface for zero-byte messages. As such, it is
preferred to change the semantics of RDS_INQ to number of messages,
instead of number of bytes.
Making a change to actively maintain a count of receive queue entries yet to
be processed. Whenever application tries to seek the pending receive queue
entries via recvmsg(), this count is read and returned as a response.
This counter is increamented when a new entry is queued to the rs_recv_queue
in rds_recv_incoming() while it is decremented as soon as any message is
pulled out of the receive queue via rds_still_queued().
Orabug: 35596049
Fixes: 89027a3334fc ("Introduce RDS-INQ feature to RDS protocol”)
Signed-off-by: Devesh Sharma <[email protected]>
Reviewed-by: Håkon Bugge <[email protected]>
Reviewed-by: Gerd Rausch <[email protected]>
0 commit comments