From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 26 Sep 2017 22:59:20 +0800 From: Ming Lei To: Bart Van Assche Cc: "linux-block@vger.kernel.org" , "jthumshirn@suse.de" , "linux-raid@vger.kernel.org" , "hch@lst.de" , "martin.petersen@oracle.com" , "axboe@kernel.dk" , "oleksandr@natalenko.name" , "hare@suse.com" , "shli@kernel.org" Subject: Re: [PATCH v4 1/7] md: Make md resync and reshape threads freezable Message-ID: <20170926145919.GC31449@ming.t460p> References: <20170925202924.16603-1-bart.vanassche@wdc.com> <20170925202924.16603-2-bart.vanassche@wdc.com> <20170926111747.GA16794@ming.t460p> <1506436926.3787.24.camel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1506436926.3787.24.camel@wdc.com> List-ID: On Tue, Sep 26, 2017 at 02:42:07PM +0000, Bart Van Assche wrote: > On Tue, 2017-09-26 at 19:17 +0800, Ming Lei wrote: > > Just test this patch a bit and the following failure of freezing task > > is triggered during suspend: [ ... ] > > What kernel version did you start from and which patches were applied on top of > that kernel? Only patch 1/7 or all seven patches? What storage configuration did It is v4.14-rc1+, and top commit is 8d93c7a43157, with all your 7 patches applied. > you use in your test and what command(s) did you use to trigger suspend? Follows my pm test script: #!/bin/sh echo check > /sys/block/md127/md/sync_action mkfs.ext4 -F /dev/md127 mount /dev/md0 /mnt/data dd if=/dev/zero of=/mnt/data/d1.img bs=4k count=128k& echo 9 > /proc/sys/kernel/printk echo devices > /sys/power/pm_test echo mem > /sys/power/state wait umount /mnt/data Storage setting: sudo mdadm --create /dev/md/test /dev/sda /dev/sdb --level=1 --raid-devices=2 both /dev/sda and /dev/sdb are virtio-scsi. -- Ming