Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1660918

Re: [PATCH] Fix loop device flush before configure v3

From James Wang <jnwang@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Fix loop device flush before configure v3
Date 2017-06-08 10:20 +0200
Message-ID <tQ0PE-1Le-29@gated-at.bofh.it> (permalink)
References <tPZAd-Nh-1@gated-at.bofh.it> <tQ0wi-1oo-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 06/08/2017 03:53 PM, Johannes Thumshirn wrote:
> On 06/08/2017 08:52 AM, James Wang wrote:
>> Test method:
>> modprobe loop max_loop=64
>> dd if=/dev/zero of=disk bs=512 count=200K
>> for((i=0;i<4;i++))do losetup -f disk; done
>> mkfs.ext4 -F /dev/loop0
>> for((i=0;i<4;i++))do mkdir t$i; mount /dev/loop$i t$i;done
>> for f in `ls /dev/loop[0-9]*|sort`; do \
>> 	echo $f; dd if=$f of=/dev/null  bs=512 count=1; \
>> 	done
> I think Christoph already asked this, but can you send a patch for
> blktests [1] as well?
I have forked this project and I'm working on it.
due to framework is limited, so I'm adjusting my code.
> Thanks,
> 	Johannes
>
> [1] https://github.com/osandov/blktests
>

-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] Fix loop device flush before configure v3 James Wang <jnwang@suse.com> - 2017-06-08 09:00 +0200
  Re: [PATCH] Fix loop device flush before configure v3 Johannes Thumshirn <jthumshirn@suse.de> - 2017-06-08 10:00 +0200
    Re: [PATCH] Fix loop device flush before configure v3 James Wang <jnwang@suse.com> - 2017-06-08 10:20 +0200
  Re: [PATCH] Fix loop device flush before configure v3 Jens Axboe <axboe@kernel.dk> - 2017-06-08 16:10 +0200

csiph-web