Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache

2014-04-15 Thread Qu Wenruo
Original Message Subject: Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache From: David Sterba dste...@suse.cz To: Qu Wenruo quwen...@cn.fujitsu.com Date: 2014年04月15日 00:29 On Thu, Apr 10, 2014 at 03:30:21PM +0800, Qu Wenruo wrote: 'btrfs scan

Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache

2014-04-15 Thread Qu Wenruo
Original Message Subject: Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache From: Qu Wenruo quwen...@cn.fujitsu.com To: dste...@suse.cz, linux-btrfs@vger.kernel.org Date: 2014年04月16日 09:24 Original Message Subject: Re: [PATCH

Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache

2014-04-14 Thread David Sterba
On Thu, Apr 10, 2014 at 03:30:21PM +0800, Qu Wenruo wrote: 'btrfs scan' uses libblkid to scan devices by default, and libblkid uses cache to reduce the probe. But if operations below is done in less than 2 seconds(BLKID_PROBE_MIN), 'btrfs scan' will still use the uncorrect cache and scan on

Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache

2014-04-14 Thread Qu Wenruo
Original Message Subject: Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache From: David Sterba dste...@suse.cz To: Qu Wenruo quwen...@cn.fujitsu.com Date: 2014年04月15日 00:29 On Thu, Apr 10, 2014 at 03:30:21PM +0800, Qu Wenruo wrote: 'btrfs scan

[PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache

2014-04-10 Thread Qu Wenruo
'btrfs scan' uses libblkid to scan devices by default, and libblkid uses cache to reduce the probe. But if operations below is done in less than 2 seconds(BLKID_PROBE_MIN), 'btrfs scan' will still use the uncorrect cache and scan on the deleted device. 0. /dev/sda[1-4] mounted on /mnt using

Re: [PATCH] btrfs-progs: Force 'btrfs dev scan' not using old libblkid cache

2014-04-10 Thread Anand Jain
On 04/10/2014 03:30 PM, Qu Wenruo wrote: 'btrfs scan' uses libblkid to scan devices by default, and libblkid uses cache to reduce the probe. But if operations below is done in less than 2 seconds(BLKID_PROBE_MIN), 'btrfs scan' will still use the uncorrect cache and scan on the deleted