• A
    fs: dlm: implement delayed ack handling · b97f8525
    Alexander Aring 提交于
    This patch changes that we don't ack each message. Lowcomms will take
    care about to send an ack back after a bulk of messages was processed.
    Currently it's only when the whole receive buffer was processed, there
    might better positions to send an ack back but only the lowcomms
    implementation know when there are more data to receive. This patch has
    also disadvantages that we might retransmit more on errors, however this
    is a very rare case.
    
    Tested with make_panic on gfs2 with three nodes by running:
    
    trace-cmd record -p function -l 'dlm_send_ack' sleep 100
    
    and
    
    trace-cmd report | wc -l
    
    Before patch:
    - 20548
    - 21376
    - 21398
    
    After patch:
    - 18338
    - 20679
    - 19949
    Signed-off-by: NAlexander Aring <aahringo@redhat.com>
    Signed-off-by: NDavid Teigland <teigland@redhat.com>
    b97f8525
lowcomms.c 47.5 KB