]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/bl: improve the page_aligned_appender test.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 17 Aug 2020 16:52:15 +0000 (18:52 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 21 Aug 2020 16:55:57 +0000 (18:55 +0200)
commitee332122f0c55fe383daab9369f63c71bb3f858d
treeb15eef36b3fc989daa977ea24f15ad980e9bc424
parent353402d88cc8ff9fe20a8233a4cab26e06fd8106
test/bl: improve the page_aligned_appender test.

The idea is to focus on the interface's parts which
are ciritical for `FileWriter` of BlueFS - the sole
user of `page_aligned_appender`.

This includes:
  * preserving the memory contiguity between appends,
    including `append_zero()`.
  * Proper carry-on behaviour when appending another
    `bufferlist` directly to the instance the appender
    is spawned on.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/test/bufferlist.cc