]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/ceph/messenger.c
libceph: some simple changes
authorAlex Elder <elder@dreamhost.com>
Wed, 15 Feb 2012 13:43:55 +0000 (07:43 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:51 +0000 (10:47 -0500)
commit84495f496170a73ed79667b7fbf91947b7f47c87
treec36204466b0dc85b39c187f78275c3b25925b15c
parentf42299e6c3883c69c14079b8c88fe33815b2dcc3
libceph: some simple changes

Nothing too big here.
    - define the size of the buffer used for consuming ignored
      incoming data using a symbolic constant
    - simplify the condition determining whether to unmap the page
      in write_partial_msg_pages(): do it for crc but not if the
      page is the zero page

Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/messenger.c