From: Ernest Zaslavsky <kreuzerkrieg at gmail.com>
To: spdk@lists.01.org
Subject: [SPDK] Memory buffer allocation in SPDK
Date: Tue, 06 Feb 2018 15:32:22 +0200 [thread overview]
Message-ID: <5a79ae67.e3aedf0a.9d8c2.0fe7@mx.google.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
Hi,
I’ve found this discussion https://lists.01.org/pipermail/spdk/2016-December/000251.html on memory allocation. I have similar situation – our application uses some allocator to create IO buffers, but of course, SPDK would not accept such a buffer. So I have two questions:
1) I cant find in code the spdk_vtophys_register() mentioned in the above link, is it removed? If not, where is it? How to use it?
2) In case our allocator uses hugepages and it is aligned on 4Kib boundary, is there a way to make the SPDK believe that this buffer could be used for NVMe IO?
Sincerely,
E.
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3859 bytes --]
next reply other threads:[~2018-02-06 13:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 13:32 Ernest Zaslavsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-02-07 15:01 [SPDK] Memory buffer allocation in SPDK Ernest Zaslavsky
2018-02-07 15:00 Harris, James R
2018-02-07 5:51 Ernest Zaslavsky
2018-02-07 0:11 Harris, James R
2016-12-13 16:05 [SPDK] Memory Buffer Allocation " Harris, James R
2016-12-13 15:49 yzhu
2016-12-13 4:46 Harris, James R
2016-12-13 4:13 yzhu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5a79ae67.e3aedf0a.9d8c2.0fe7@mx.google.com \
--to=spdk@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox