summaryrefslogtreecommitdiffstats
path: root/src/common/buffer.cc (follow)
Commit message (Expand)AuthorAgeFilesLines
* common/buffer: add missing include for std::cerrMax Kellermann2024-11-041-0/+2
* common/buffer: silent compiler warningIgor Fedotov2023-10-251-1/+2
* common/bl: drop buffer::raw_char.Radosław Zarzyński2022-05-261-21/+0
* common/bl: drop clone() and clone_empty() from buffer::raw.Radoslaw Zarzynski2022-05-231-36/+6
* common/bl, tests: drop buffer::ptr::clone().Radoslaw Zarzynski2022-05-231-5/+0
* test/msgr: add unittest to simulate network block temporarilyVicente Cheng2022-02-071-0/+2
* common/bl: mark bl::prepare_iovs() constKefu Chai2021-10-161-1/+1
* common/bl: simplify bl::prepare_iovs()Kefu Chai2021-10-161-17/+16
* common/bl: define iov_vec_t using a dedicated structKefu Chai2021-10-161-9/+9
* common/bl: move bl::prepare_iovs() to .cc fileKefu Chai2021-10-161-0/+28
* common/bl: abstract from _carriage checking in c_str().Radoslaw Zarzynski2021-09-131-10/+9
* common/bl: c_str() considers _carriage now.Radoslaw Zarzynski2021-09-131-4/+7
* common/bl: c_str() examines length instead of no. of bptrs.Radoslaw Zarzynski2021-07-201-9/+8
* Merge pull request #42112 from CongMinYin/fix-common-buffer-SIGABRTIlya Dryomov2021-07-091-2/+6
|\
| * common/buffer: fix SIGABRT in rebuild_aligned_size_and_memoryYin Congmin2021-07-091-2/+6
* | common/buffers: check _num directly in list::c_str()Kefu Chai2021-06-291-8/+10
|/
* common/buffer: adjust align before calling posix_memalign()Ilya Dryomov2021-05-041-4/+4
* common/buffer.cc: use shift_round_up() when appropriateKefu Chai2021-04-061-2/+5
* src/common/buffer.cc: change cast to static_cast in ceph::buffer::list::page_...Duncan Bellamy2021-04-041-4/+4
* Merge pull request #36549 from markhpc/wip-bl-dynamic_alenKefu Chai2021-03-171-2/+12
|\
| * common/buffer: Implement dynamic alen in refill_append_spaceMark Nelson2021-02-241-2/+12
* | common: do not include RWLock.h unless it is usedKefu Chai2021-03-101-1/+0
* | commom/buffer: use small page aligned when bufferlist prealloc memoryluo rixin2020-12-231-1/+1
* | Merge PR #32777 into masterJan Fajerski2020-11-091-3/+44
|\ \
| * | tools,common,msg: Use O_BINARY for win32 compatibilityLucian Petrut2020-10-221-3/+3
| * | common,msg: Fix socket handlingLucian Petrut2020-10-131-0/+41
* | | Merge pull request #36754 from rzarzynski/wip-bs-filewriter-appenderKefu Chai2020-10-231-29/+36
|\ \ \ | |/ / |/| |
| * | common/bl: drop claim_append_piecewise() from bufferlist.Radoslaw Zarzynski2020-08-211-9/+0
| * | common/bl: splice() doesn't thrash _carriage anymore.Radoslaw Zarzynski2020-08-211-5/+11
| * | common/bl: new incarnation of page_aligned_appender.Radoslaw Zarzynski2020-08-211-0/+9
| * | common/bl: refactor splice().Radoslaw Zarzynski2020-08-211-7/+7
| * | common/bl: multiple cleans-up for bufferlist::splice().Radoslaw Zarzynski2020-08-211-11/+11
| * | common/bl: add assertion in obtain_contigous_space().Radoslaw Zarzynski2020-08-211-0/+1
| |/
* | common,os,kv: Define aligned_freeLucian Petrut2020-09-211-2/+2
* | common/buffer: use homebrew BUF_OFFSETOF to replace offsetof()Kefu Chai2020-09-111-1/+5
* | common/buffer: do not deref _raw ptr when checking for hypercombind bufKefu Chai2020-09-071-3/+9
|/
* common/bl: don't access raw::len directly. Use the getter instead.Radoslaw Zarzynski2020-07-241-10/+9
* common/bl: don't access raw::data directly. Use the getter instead.Radoslaw Zarzynski2020-07-241-9/+9
* Merge pull request #32707 from petrutlucian94/windows.4Kefu Chai2020-07-111-2/+33
|\
| * include,common: Add functions missing on WindowsLucian Petrut2020-07-081-0/+31
| * common: Fix pointer to integer casts on WindowsLucian Petrut2020-06-221-2/+2
* | Merge pull request #35764 from rzarzynski/wip-bl-cache-in-releaseKefu Chai2020-07-071-14/+22
|\ \
| * | common/bl: document and slightly optimize ptr::release().Radoslaw Zarzynski2020-07-071-14/+22
| |/
* | Merge pull request #35729 from rzarzynski/wip-bl-deprecate-claimIlya Dryomov2020-06-291-8/+0
|\ \
| * | common/bl, *: deprecate list::claim() in favor of operator=(list&&).Radoslaw Zarzynski2020-06-291-8/+0
| |/
* / common/bl: deduplicate code between claim_append() and clear().Radoslaw Zarzynski2020-06-221-4/+1
|/
* Merge pull request #34189 from changchengx/bufferlistKefu Chai2020-06-201-7/+7
|\
| * common/buffer: use bufferptr length directly for memory compareChangcheng Liu2020-06-141-4/+4
| * common/buffer: use '\n' to replace with endl manipulatorChangcheng Liu2020-06-141-3/+3
* | common/mempool: copies bufferlist assignment to mempool through rebuildAdam Kupczyk2020-06-161-0/+2
|/