xfs
[Top] [All Lists]

[PATCH 1/4] xfstests: check unwritten extent preallocation in 255

To: xfs@xxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx
Subject: [PATCH 1/4] xfstests: check unwritten extent preallocation in 255
From: Zheng Liu <gnehzuil.liu@xxxxxxxxx>
Date: Mon, 28 Jan 2013 15:32:48 +0800
Cc: Zheng Liu <wenqing.lz@xxxxxxxxxx>, "Theodore Ts'o" <tytso@xxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=Fl0rTPdNqsWxtFEPFskEdD4bhXktpsnFvvlgNnJNRSc=; b=qtsM5yQutDtHoixmZucPhtW622H+p3Qt24hPdB0AlW28HSGlcuQ+XMWB6TIZK70RAV J7/PUKkAsUlwd1fkPMNUdYfyQO/z598MRR1t6f/t853cUYSIip+0CcC1ltChWUHmuJv+ TG3MmS3uiOv8aKxBPK4J/IY77Bz5IeexNE+Pr3pEBffL/tE/4vRAtfTa55E5NUTNqE1W f0XpWnG9A3Fveu2I4zF7CJtYNL5Zosqo2ywunP3/R6VAh7ijqn+Yacyzo/g70B67jEy4 0QRgANiAIFdP0bPnHYeq2VrUi/k/xpeG3vv87j3mqfseef/Z0gYvcEPwQ1YDuJD81zMN uYYQ==
In-reply-to: <1359358371-21411-1-git-send-email-wenqing.lz@xxxxxxxxxx>
References: <1359358371-21411-1-git-send-email-wenqing.lz@xxxxxxxxxx>
From: Zheng Liu <wenqing.lz@xxxxxxxxxx>

255 misses call _require_xfs_io_falloc to check whether a filesystem
supports fallocate(2) to preallocate unwritten extents or not.

Signed-off-by: Zheng Liu <wenqing.lz@xxxxxxxxxx>
Cc: "Theodore Ts'o" <tytso@xxxxxxx>
Cc: Dave Chinner <david@xxxxxxxxxxxxx>
---
 255 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/255 b/255
index 0083963..700c3c0 100755
--- a/255
+++ b/255
@@ -1,7 +1,7 @@
 #! /bin/bash
 # FS QA Test No. 255
 #
-# Test Generic fallocate hole punching
+# Test Generic fallocate hole punching w/ unwritten extent
 #
 #-----------------------------------------------------------------------
 # Copyright (c) 2010 Red Hat.  All Rights Reserved.
@@ -47,6 +47,7 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
 _supported_fs generic 
 _supported_os Linux
 
+_require_xfs_io_falloc
 _require_xfs_io_falloc_punch
 _require_xfs_io_fiemap
 
-- 
1.7.12.rc2.18.g61b472e

<Prev in Thread] Current Thread [Next in Thread>