From: Allison Henderson <achender@linux.vnet.ibm.com>
To: xfs@oss.sgi.com, linux-fsdevel@vger.kernel.org,
linux-ext4@vger.kernel.org
Cc: Allison Henderson <achender@linux.vnet.ibm.com>
Subject: [PATCH 2/2 v6] XFS TESTS: ENOSPC Punch Hole: Add new test 255
Date: Mon, 27 Jun 2011 22:32:43 -0700 [thread overview]
Message-ID: <1309239163-3975-3-git-send-email-achender@linux.vnet.ibm.com> (raw)
In-Reply-To: <1309239163-3975-1-git-send-email-achender@linux.vnet.ibm.com>
This patch adds a new test 255 that tests that a hole can be punched even when the
disk is full. Reserved blocks should be used to allow a punch hole to proceed even
when there is not enough blocks to further fragment the file. To test this, the
file system is fragmented by punching holes in regular intervals and filling
the file system between punches. This will eventually force the file system to use
reserved blocks to proceed with the punch hole operation.
The work in this patch is a continuation from a previous patch set that has been
partially accepted.
Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
---
v5->v6
Test moved out of 252 and put in its own test 255
_fill_fs and _test_full_fs_punch have been moved from common.punch
to test 255 and modified to use the _user_do routines in common.rc
_fill_fs has been optimized to stop once files smaller than a block
cannot be created.
:100644 100644 1f86075... c045e70... M group
group | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/group b/group
index 1f86075..c045e70 100644
--- a/group
+++ b/group
@@ -368,3 +368,4 @@ deprecated
252 auto quick prealloc
253 auto quick
254 auto quick
+255 auto quick
--
1.7.1
next prev parent reply other threads:[~2011-06-28 5:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 5:32 [PATCH 0/2 v6] XFS TESTS: Add ENOSPC Punch Hole Test Allison Henderson
2011-06-28 5:32 ` [PATCH 1/2 v6] XFS TESTS: ENOSPC Punch Hole: Move su routines in 123 to common.rc Allison Henderson
2011-06-28 5:32 ` Allison Henderson [this message]
2011-06-28 14:02 ` [PATCH 2/2 v6] XFS TESTS: ENOSPC Punch Hole: Add new test 255 Allison Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309239163-3975-3-git-send-email-achender@linux.vnet.ibm.com \
--to=achender@linux.vnet.ibm.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).