| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] generic: fix check for zero range support in generic/009 |
| From: | Eric Whitney <enwlinux@xxxxxxxxx> |
| Date: | Sat, 19 Apr 2014 15:05:24 -0400 |
| Cc: | linux-ext4@xxxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=ApJ1H3HElU++kUYWuYOnsKzlL9hBUh992KLrB/1OmjM=; b=RkPWQPoQuMyiWhLGQJ5a25fb/cgZ3kiNoEWh6hLi1ebbWpq88W135uZU3QacE7GGvf JQpDg9S/Z7UzaJSxTVx9O/FNapYgWXWcWGkIUanJ4T2nsX4nriAUzSmJWG93xdW3UAoZ dkWaVKNQDGm7u6WhQ0lgzCBHLeIG4y3ToIHCr+0JQHyFya72G41cAJ2H4pfmNKTtCj/5 gWqSNp7qXga92a67CH0l5iNb2bYiHLwvkN3GRqcW8qq+1KhGZPDw3kv+gwQqIzfYO5sP +6CoSXddrAwJsOrgDy4oRsjimfM6X30MOTWlhPVGLmGrudgdg9T0tTzsWV1hV9GeJ4br 8q3A== |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
Generic/001 fails when run on a file system that does not support byte range zeroing. For example, an EOPNOTSUPP failure occurs when the test is run on a pre-3.15 extent-mapped file system. The code in the test intended to prevent this contains an apparent typo that results in a check for fallocate() rather than zero range support. Signed-off-by: Eric Whitney <enwlinux@xxxxxxxxx> --- tests/generic/009 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/009 b/tests/generic/009 index b7b0b3f..65abe3c 100644 --- a/tests/generic/009 +++ b/tests/generic/009 @@ -44,7 +44,7 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_os Linux -_require_xfs_io_falloc "fzero" +_require_xfs_io_command "fzero" testfile=$TEST_DIR/009.$$ -- 1.8.3.2 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re:silicone wristbands only need USD 0.031, gifts |
|---|---|
| Next by Date: | [PATCH] ext4: fix check for zero range support in ext4/001, Eric Whitney |
| Previous by Thread: | Re:silicone wristbands only need USD 0.031, gifts |
| Next by Thread: | Re: [PATCH] generic: fix check for zero range support in generic/009, Theodore Ts'o |
| Indexes: | [Date] [Thread] [Top] [All Lists] |