Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 885638 Details for
Bug 1085727
coreutils fails to build on XFS (AArch64 builders)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
avoid XFS speculative preallocation test issues
dd-sparse-xfs.patch (text/plain), 1.99 KB, created by
Pádraig Brady
on 2014-04-11 23:02:36 UTC
(
hide
)
Description:
avoid XFS speculative preallocation test issues
Filename:
MIME Type:
Creator:
Pádraig Brady
Created:
2014-04-11 23:02:36 UTC
Size:
1.99 KB
patch
obsolete
>From 7c03fe2c9f498bad7e40d29f2eb4573d23e102d0 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com> >Date: Fri, 11 Apr 2014 23:44:13 +0100 >Subject: [PATCH] tests: fix false dd conv=sparse failure on newer XFS > >* tests/dd/sparse.sh: When testing that a hole is created, >use an existing sparse destination file, so that we're >not write extending the file size, and thus avoiding >speculative preallocation which can result in smaller >holes than requested. >Workaround suggested by Brian Foster >--- > THANKS.in | 1 + > tests/dd/sparse.sh | 9 ++++++++- > 2 files changed, 9 insertions(+), 1 deletions(-) > >diff --git a/THANKS.in b/THANKS.in >index e7298ef..a92540a 100644 >--- a/THANKS.in >+++ b/THANKS.in >@@ -95,6 +95,7 @@ Bjorn Helgaas helgaas@rsn.hp.com > Bob McCracken kerouac@ravenet.com > Branden Robinson branden@necrotic.deadbeast.net > Brendan O'Dea bod@compusol.com.au >+Brian Foster bfoster@redhat.com > Brian Kimball bfk@footbag.org > Brian M. Carlson sandals@crustytoothpaste.ath.cx > Brian Silverman bsilverman@conceptxdesign.com >diff --git a/tests/dd/sparse.sh b/tests/dd/sparse.sh >index 06efc70..a7e90d2 100755 >--- a/tests/dd/sparse.sh >+++ b/tests/dd/sparse.sh >@@ -61,8 +61,15 @@ if test $(kb_alloc file.in) -gt 3000; then > dd if=file.in of=file.out bs=2M conv=sparse > test 2500 -lt $(kb_alloc file.out) || fail=1 > >+ # Note we recreate a sparse file first to avoid >+ # speculative preallocation seen in XFS, where a write() that >+ # extends a file can preallocate some extra space that >+ # a subsequent seek will not convert to a hole. >+ rm -f file.out >+ truncate --size=3M file.out >+ > # Ensure that this 1MiB string of NULs *is* converted to a hole. >- dd if=file.in of=file.out bs=1M conv=sparse >+ dd if=file.in of=file.out bs=1M conv=sparse,notrunc > test $(kb_alloc file.out) -lt 2500 || fail=1 > > fi >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1085727
:
884433
|
884442
| 885638