Skip to contentSkip to conversation

pseudo 1.6.2

PATCH New Peter Seebach 1 participant 2 messages Oct 3, 2014

lore
Share & tools
lore
#0 lore raw

cover pseudo 1.6.2

This fixes a handful of things that have been creating strange and hard-to-replicate failures.

1. The inode data path wasn't quite 64-bit clean, so XFS filesystems could produce strange behavior.
2. When renaming a file, pseudo would sometimes create a link to rename when the file had actually already been in the database.
3. Some operations could spuriously create an additional link to a file.
4. So it was possible for you to end up with a file marked as deleted but still having a 'NAMELESS FILE' entry for the same inode which could cause strange behaviors galore.

The net outcome of this is that if there's a lot of renames happening for files which have recently been hit by a may-unlink but the did-unlink hasn't been processed yet, really strange stuff happens.

I think the XFS stuff may have actually been a red herring from some of the other parts, which I could reproduce on 32-bit filesystems.

I haven't run builds against the recipe patches yet, but I've sent the tarball link to pidge. Pretty optimistic, though, once I got past all the crazy parts this was a pretty straightforward patch as such go.

The database change may cause some existing pseudo databases to become invalid, but conveniently, it'll also invalidate checksums. They'll probably work anyway, because pseudo is okay with inode mismatches.

The following changes since commit 2b85b3f33af5157cd4b6f8a6dc737015c85018c3:

uninative-tarball: Update eglibc -> glibc (2014-10-02 10:58:18 +0100)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib seebs/pseudo162
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/pseudo162

Peter Seebach (1):
pseudo*.bb: update to pseudo 1.6.2

 .../pseudo/{pseudo_1.6.1.bb => pseudo_1.6.2.bb}    |    4 ++--
 meta/recipes-devtools/pseudo/pseudo_git.bb         |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/pseudo/{pseudo_1.6.1.bb => pseudo_1.6.2.bb} (52%)
#1 lore raw

PATCH 1/1 pseudo*.bb: update to pseudo 1.6.2

pseudo 1.6.2 fixes problems with 64-bit inodes and some underlying issues involving file renames that could occasionally cause very strange behaviors files being deleted, linked, or renamed, mostly observed as strange recovery if an inode got reused.

---
 .../pseudo/{pseudo_1.6.1.bb => pseudo_1.6.2.bb}    |    4 ++--
 meta/recipes-devtools/pseudo/pseudo_git.bb         |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/pseudo/{pseudo_1.6.1.bb => pseudo_1.6.2.bb} (52%)
meta/recipes-devtools/pseudo/pseudo_1.6.2.bb renamed from meta/recipes-devtools/pseudo/pseudo_1.6.1.bb +2 -2
similarity index 52%
rename from meta/recipes-devtools/pseudo/pseudo_1.6.1.bb
rename to meta/recipes-devtools/pseudo/pseudo_1.6.2.bb
index 2dff823..ece50bf 100644
@@ -4,7 +4,7 @@ SRC_URI = " \
     http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
 "
 
-SRC_URI[md5sum] = "c19e4811635d12f2a923e47061c7d336"
-SRC_URI[sha256sum] = "de9cc755b786bfbe2d416d35fab340f2b8ef9904cb2801be3092eeb7446a7c37"
+SRC_URI[md5sum] = "4d7b4f9d1b4aafa680ce94a5a9a52f1f"
+SRC_URI[sha256sum] = "c72be92689511ced7c419149c6aaa1b1a9e4dfc6409d1f16ab72cc35bc1e376a"
 
 PSEUDO_EXTRA_OPTS ?= "--enable-force-async"
meta/recipes-devtools/pseudo/pseudo_git.bb +2 -2
index d599cfb..8c6f06a 100644
@@ -1,7 +1,7 @@
 require pseudo.inc
 
-SRCREV = "2765805641f09109029b88b38f27256dc1b52ba3"
-PV = "1.6.1+git${SRCPV}"
+SRCREV = "0dc29e7c67f25d0978a7da5cd8965514912c5b36"
+PV = "1.6.2+git${SRCPV}"
 
 DEFAULT_PREFERENCE = "-1"
 
Signature · 1 line
1.7.1