Your message dated Fri, 02 Jul 2021 14:49:51 +0000
with message-id <e1lzkuj-0000wj...@fasolo.debian.org>
and subject line Bug#990573: fixed in pmdk 1.11.0-1
has caused the Debian Bug report #990573,
regarding libpmem1: insufficient flushing on ARMv8.2+
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
990573: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990573
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libpmem1
Version: 1.10-1
Severity: grave
Justification: causes data loss

[a fix is coming, filing this bug so the Release Team knows why]

Hi!
Support for arm64 in PMDK is deeply experimental.  As far as I know, it has
never been tested on real hardware nor had been reviewed by someone with
adequate knowledge about ARM.  Yet, enabling arm64 in our packages has been
requested multiple times, and bullseye / buster-backports do include arm64
builds.  This was done with porting in mind, yet it looks like pmem-capable
ARM hardware is coming soon, and will be used in production not long after.

This makes inadequate support for new ARM chips unfortunate to say the least.

In ARMv8.0 and ARMv8.1, the only flushes available were CVAI (to make icache
= dcache, irrelevant for pmem), and CVAC ("flush to coherency").  The latter
was the deepest flush available, and implementors simply had no other option
than to have this instruction request the memory controller to send its data
to actual memory chips.

This changed in ARMv8.2, where a new instruction CVAP ("flush to
persistency") has been added, and CVAC was defined to require coherency only
between "agents" (such as CPU cores, GPU, etc) but not memory.

Yet PMDK knew only about CVAC -- despite asking around, no one of us could
get hold of an ARMv8.2 machine to implement detection/etc.  Such support is
obviously not a priority for Intel nor IBM.

Only recently, I managed to get access to such a box, and implemented
flushes via CVAP.  Without them, an unexpected power loss may result in
recent writes being lost.  This is even worse than with disks -- a typical
filesystem will flush every 5 seconds or so, while there's no time-based
mechanism to flush CPU caches.  If a machine finished its task and became
quiescent, it's possible the kernel and daemons won't actively touch more
than 16-64MB of L3 cache for hours or days.

The new flushes have been merged upstream in 1.11, I'm about to cherry-pick
to 1.10 for Bullseye.


Meow!
-- System Information:
Debian Release: 11.0
  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.13.0-00032-g2fc675a48a0e (SMP w/64 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libpmem1 depends on:
ii  libc6       2.31-12
ii  libdaxctl1  71.1-1
ii  libndctl6   71.1-1

libpmem1 recommends no packages.

libpmem1 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pmdk
Source-Version: 1.11.0-1
Done: Adam Borowski <kilob...@angband.pl>

We believe that the bug you reported is fixed in the latest version of
pmdk, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 990...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <kilob...@angband.pl> (supplier of updated pmdk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 02 Jul 2021 15:23:11 +0200
Source: pmdk
Architecture: source
Version: 1.11.0-1
Distribution: experimental
Urgency: medium
Maintainer: Adam Borowski <kilob...@angband.pl>
Changed-By: Adam Borowski <kilob...@angband.pl>
Closes: 990573
Changes:
 pmdk (1.11.0-1) experimental; urgency=medium
 .
   * New upstream release.
     + Fixes insufficient flushing on ARMv8.2+ (closes: #990573).
Checksums-Sha1:
 3039406ccbe8c325f7ac29e081d00c5ef5e41a2a 3861 pmdk_1.11.0-1.dsc
 97fbd6d72725144eb05c60ac298710d910d62de1 2422502 pmdk_1.11.0.orig.tar.gz
 43f09d46e7b64da0b5208e3cd07bac2698e95c23 833 pmdk_1.11.0.orig.tar.gz.asc
 eb86486042012247ea5a94e5823c84611533a707 15404 pmdk_1.11.0-1.debian.tar.xz
 a85bbac351cbb687f349a7938a400cf4391f34b9 6766 pmdk_1.11.0-1_source.buildinfo
Checksums-Sha256:
 c31d1dfd09d4de9adeb460c45769257abe3e772a2040466c3ffb05c80cdce42c 3861 
pmdk_1.11.0-1.dsc
 2116f30b1fbb3ee11b208f21f6eb81e594649608d85f6741d597a7fbea36143b 2422502 
pmdk_1.11.0.orig.tar.gz
 fd4c15c75c8a1be9715f718859317cd0dfc9bcb6fbb5018f2cdf188c28f84951 833 
pmdk_1.11.0.orig.tar.gz.asc
 1d790d6c6020c7688339b6faac27bf117cc4b3629417c00de3707fde76fa83ed 15404 
pmdk_1.11.0-1.debian.tar.xz
 f10c0e1bcc0be8989a121e36184d01daaf8648985ad63115d4bcf13b6e2f946b 6766 
pmdk_1.11.0-1_source.buildinfo
Files:
 62f1b31ab9a96aeceadad64a3a4e3783 3861 libs optional pmdk_1.11.0-1.dsc
 afe5c3dccc92243237896b6d6d4e1527 2422502 libs optional pmdk_1.11.0.orig.tar.gz
 3827c8cb01e67e2817ebfd406ae7eed2 833 libs optional pmdk_1.11.0.orig.tar.gz.asc
 d762b3cc34012d7e898e78f45fae834c 15404 libs optional 
pmdk_1.11.0-1.debian.tar.xz
 809c974a5d733c7204eb28fb0d8964d4 6766 libs optional 
pmdk_1.11.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmDfJQ4ACgkQweDZLphv
fH5vCBAAic6ZpOFcK7fJ6jHPdE672d6G/0E8KDHNNbOx+VYRvbMInpjiyL7IAqPY
j3/LYkXKlJTJB3TeVNtOaG5cgKfHa9HKAoEvqk9iAudUBqqlVyIR2+kwVwRmrfwe
zrmmG0WQOLwn9+hwh1jEQJa+zC9L4zdefRjHejr1ev6bkPoUaQsyYWZMY3B2wmM7
m0VbGwhgje97FX/qiE1VhaJrxx4+hHwSi6u0JBQRI/FeXoXX3+cNpK2MqpYJlfqs
9HxMZuoGGOZqyXJhNZ6GR+DiT1Tej3Cgyz5hNQ8/1LdZXlkQiKNggVxTp6o/hp63
7AvpNzeALvoYEtsrVTIfA491xChgq+gjAgvzA+GdxuXcz/Qb1Eky0LiTHi4WD+aL
fSANpTQRIHJZFPGCCJOvfcZdkS5K7PCnjRm8QEigGt0IdSlmW9qnIY1yRq2wbtPt
K6AuFh/1yH59WReE5P3TSsFP9hZMNkIf8ioRzAn3Q8T98c1lsek1F+xO05QPOI4T
MhvNnwoNXMKbkEs4Mhh4ECMaWuxHCPLiQdFwUm18SET4935p8sbaeAGC3/FdTF7A
sWoOYOPFCLBoX8lJvGqcyS/53asUReO+2qv6lL79660OgfVkxQPqec1ZDOe1zAcH
xlHCk3YAx2xhpxQw3YPoIUN/ooQp3G6dV+lLGW/s86gM/ayRsSQ=
=fCOa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to