All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP]  [PATCH] runltp: bigger the supplied block device
@ 2013-09-10  2:53 DAN LI
  2013-09-10 12:19 ` chrubis
  0 siblings, 1 reply; 2+ messages in thread
From: DAN LI @ 2013-09-10  2:53 UTC (permalink / raw)
  To: LTP list


To make a xfs filesystem, we need the device gets at least 4096 blocks.

Signed-off-by: DAN LI <li.dan@cn.fujitsu.com>
---
 runltp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runltp b/runltp
index e86f5c7..63c625f 100755
--- a/runltp
+++ b/runltp
@@ -955,8 +955,8 @@ main()

 create_block()
 {
-    #create a block device with ext4 filesystem.
-    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=10240
+    #create a block device
+    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=20480
     if [ $? -ne 0 ]; then
         echo "Failed to create loopback device image, please check disk space and re-run"
         return 1
-- 
1.8.1

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] runltp: bigger the supplied block device
  2013-09-10  2:53 [LTP] [PATCH] runltp: bigger the supplied block device DAN LI
@ 2013-09-10 12:19 ` chrubis
  0 siblings, 0 replies; 2+ messages in thread
From: chrubis @ 2013-09-10 12:19 UTC (permalink / raw)
  To: DAN LI; +Cc: LTP list

Hi!
> To make a xfs filesystem, we need the device gets at least 4096 blocks.
> 
> Signed-off-by: DAN LI <li.dan@cn.fujitsu.com>

Pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-10 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10  2:53 [LTP] [PATCH] runltp: bigger the supplied block device DAN LI
2013-09-10 12:19 ` chrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.