Re: [PATCH] bcache: Fix a shrinker deadlock

2013-09-04 Thread kernel neophyte
... no crashes/deadlock. But I see lower benchmark numbers for random write.. is this expected for this change ? Thanks Kent. -Suhas > --- > > On Thu, Aug 29, 2013 at 05:29:54PM -0700, kernel neophyte wrote: >> We are evaluating to use bcache on our production systems where the &g

Re: Bcache sleeps forever on random writes

2013-08-29 Thread kernel neophyte
irect_write+0xc6/0x180 [ 3243.200869] [] __generic_file_aio_write+0x2dd/0x3b0 [ 3243.200875] [] generic_file_aio_write+0x69/0xd0 [ 3243.200879] [] do_sync_write+0x7a/0xb0 [ 3243.200884] [] vfs_write+0xce/0x1e0 [ 3243.200888] [] SyS_write+0x52/0xa0 [ 3243.200894] [] system_call_fastpath+0x16/0x1b On Th

Bcache sleeps forever on random writes

2013-08-29 Thread kernel neophyte
We are evaluating to use bcache on our production systems where the caching devices are insanely fast, in this scenario under a moderate load of random 4k writes.. bcache fails miserably :-( [ 3588.513638] bcache: bch_cached_dev_attach() Caching sda4 as bcache0 on set b082ce66-04c6-43d5-8207-ebf39

Possible Bcache Bug

2013-08-28 Thread kernel neophyte
Hi Kent, I have configured Bcache as follows: echo /dev/sda3 > /sys/fs/bcache/register echo /dev/sdb1 > /sys/fs/bcache/register echo 5fd1b675-ea67-4039-82f6-caa325d10559 > /sys/block/bcache0/bcache/attach echo 0 > /sys/block/bcache0/bcache/sequential_cutoff echo 0 > /sys/fs/bcache/5fd1b675-ea67-

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Wed, Aug 28, 2013 at 12:20 PM, Stefan Priebe wrote: > Am 28.08.2013 20:47, schrieb kernel neophyte: > >> On Wed, Aug 28, 2013 at 11:38 AM, Stefan Priebe - Profihost AG >> wrote: >>> >>> I don't had one for a few days. Which kernel so you use? >&

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
my iPhone. > > Am 28.08.2013 um 20:12 schrieb kernel neophyte : > >> On Tue, Aug 27, 2013 at 11:05 PM, Kent Overstreet wrote: >>> On Tue, Aug 27, 2013 at 08:37:54PM -0700, kernel neophyte wrote: >>>> Hi Kent, >>>> >>>> I am still seeing

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Tue, Aug 27, 2013 at 11:05 PM, Kent Overstreet wrote: > On Tue, Aug 27, 2013 at 08:37:54PM -0700, kernel neophyte wrote: >> Hi Kent, >> >> I am still seeing deadlock: > > Seeing blk_throtl_bio (what asshole misspells words in their function > names, so when you go

Re: bcache: Fix a writeback performance regression

2013-08-27 Thread kernel neophyte
Hi Kent, I am still seeing deadlock: [ 930.169234] bcache: bch_cached_dev_attach() Caching sda3 as bcache0 on set 06496904-10ca-489a-ae75-68c6a07d3db1 [ 2522.956188] INFO: task bcache_writebac:2058 blocked for more than 120 seconds. [ 2522.956199] "echo 0 > /proc/sys/kernel/hung_task_timeout_sec