Package: fio
Version: 3.16-1
Severity: wishlist
Tags: patch

Hi!
There are three persistent memory engines shipped in upstream source.  Please
enable them, all that needs to be done is bringing in B-Depends.

In case you don't have access to the hardware, you can emulate pmem by:
* append memmap=4G!12G to kernel's cmdline (this will steal 4GB of memory,
  starting at address 12GB), reboot
* use ndctl to set mode:
  + fsdax:
    ndctl create-namespace -f -e namespace0.0 -m fsdax
    mkfs -t ext4 /dev/pmem0
    mount -o dax /dev/pmem0 /some/where
    chown you /some/where
  + devdax:
    ndctl create-namespace -f -e namespace0.0 -m devdax
    chown you /dev/dax0.0

Trivial patch attached, also as
https://salsa.debian.org/debian/fio/merge_requests/1


Meow!
-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.1-00053-g39149fc6f728 (SMP w/64 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages fio depends on:
ii  init-system-helpers  1.57
ii  libaio1              0.3.112-5
ii  libc6                2.29-10
ii  libgfapi0            7.2-2
ii  libibverbs1          27.0-2
ii  libnuma1             2.0.12-1+b1
ii  libpmem1             1.8-1
ii  libpmemblk1          1.8-1
ii  librados2            14.2.7-1
ii  librbd1              14.2.7-1
ii  librdmacm1           27.0-2
ii  python2.7            2.7.17-1+b1
ii  zlib1g               1:1.2.11.dfsg-1.2

fio recommends no packages.

Versions of packages fio suggests:
pn  gfio          <none>
pn  gnuplot       <none>
pn  python-scipy  <none>

-- no debconf information
>From 4185b043d8d5a89e760632dcbda690183ed61182 Mon Sep 17 00:00:00 2001
From: Adam Borowski <[email protected]>
Date: Fri, 7 Feb 2020 12:09:46 +0100
Subject: [PATCH] Enable pmem related engines (via libpmem and libpmemblk).

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index a635de7..525bd81 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: fio
 Section: utils
 Priority: optional
 Maintainer: Martin Steigerwald <[email protected]>
-Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.16.1~), libaio-dev 
[linux-any], zlib1g-dev, librdmacm-dev [linux-any], libibverbs-dev [linux-any], 
librbd-dev [linux-any], libgtk2.0-dev, libcairo2-dev, libnuma-dev [linux-any], 
flex, bison, libglusterfs-dev
+Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.16.1~), libaio-dev 
[linux-any], zlib1g-dev, librdmacm-dev [linux-any], libibverbs-dev [linux-any], 
librbd-dev [linux-any], libgtk2.0-dev, libcairo2-dev, libnuma-dev [linux-any], 
flex, bison, libglusterfs-dev, libpmem-dev [amd64 arm64 ppc64el], 
libpmemblk-dev [amd64 arm64 ppc64el]
 Standards-Version: 4.4.1
 Homepage: https://github.com/axboe/fio
 Vcs-Git: https://salsa.debian.org/debian/fio.git
-- 
2.25.0

Reply via email to