Re: Flushing dirty data after bcache detach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 21, 2013 at 10:48:57AM +0200, Georg Schönberger wrote:
> Hi bcache team,
> 
> we are currently developing performance test scripts with Fio for bcache.
> At the end of a test we want to detach and destroy the cache. Therefore we did:
>     echo 1 > /sys/block/$dev/bcache/detach
>     echo 1 > /sys/block/$dev/bcache/stop
> 
>     echo 1 > /sys/fs/bcache/*/stop
>     echo 1 > /sys/fs/bcache/*/unregister
> 
> With a simple randwrite test with we had about 2GB dirty data in the cache. After detaching the dirty data flush rate was about 900KB/s from SSD to HDD.
> Is there a way to accelerate flushing of dirty data?
> What is the correct way to detach/destroy a writeback caching device?

The stop is unnecessary for the cache set (that'll shut down the cache
set without detaching anything or flushing dirty data).

900KB/sec sounds like a bug though - I'll try and take a look at it
tomorrow.
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux