notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: sysutils/e2fsprogs-core/files/patch-tests_m__offset_script
SVNWeb

Number of commits found: 1

Thu, 2 Feb 2023
[ 23:49 Matthias Andree (mandree) search for other commits by this committer ]    commit hash:594ba3e582e75df1ad69e7b039dadb16e164e843  commit hash:594ba3e582e75df1ad69e7b039dadb16e164e843  commit hash:594ba3e582e75df1ad69e7b039dadb16e164e843  594ba3e 
sysutils/e2fsprogs: bugfix update to 1.46.6

ChangeLog: https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.46.6

Add patch to make m_offset reliable. Due to some race conditions on the
pipeline between FreeBSD's yes a, which emits 8190-long writes on
13-STABLE, and GNU dd (gdd), which it pipes its output into, gdd can
sometimes receive short reads occasionally, and because the count=
normally is the number of read(2) calls dispatched, this then leads to a
shorter reference "file system" that we crcsum, and that causes false
negative test results.  gdd warns that iflag=fullblock would avoid
effects of short reads, but this warning is discarded in the test
script.  Anyways, patch m_offset to use dd's and gdd's iflag=fullblock,
which causes (g)dd to call read(2) again until the block is full for
each nominal block, so we definitely read the desired output size 512 kB
no matter what shorter blocks might travel through the pipeline.

MFH:		2023Q1

Number of commits found: 1