linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Did I hear anyone say "deadlock"?
@ 2012-09-08 19:04 Alex Pyrgiotis
  0 siblings, 0 replies; only message in thread
From: Alex Pyrgiotis @ 2012-09-08 19:04 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

Hi Kent and list,

I may have stumbled upon a deadlock in the latest code for bcache. Since 
I see this is a hot issue between you and the guys working on dm, you 
might want to take a look.

I have compiled your latest commit in master branch 
(66f5a1f7311d5cc24bdff876ca2cfed88a3cc5d1) and running it raw on my home 
laptop - not using a VM or something.
For benchmarking reasons, I'm using a RAMdisk (brd module) as a cache 
set for an HDD disk. These are the steps that I take:

# Load ramdisks with max size 2.5GB (/dev/ram[0-15])
modprobe brd rd_size=2621440

#Format ramdisk as bcache cache set
make-bcache -C /dev/ram0

#Register the cache set
echo /dev/ram0 > /sys/fs/bcache/register

The last command fails to finish. The system hangs and nothing gets to 
be written in kern.log.
On the other hand, on another bcache kernel that is installed in the 
same system, everything runs smoothly. This kernel was taken from the 
bcache-dev branch and based on linux kernel version 3.5.0 rc2.

It is probably not a big issue, but i thought it'd be helpful to share it.
So, is the proposed code somewhere in your git tree? In this case, I 
could try it out and check if this problem is solved.

Thanks,
Alex

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-08 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08 19:04 Did I hear anyone say "deadlock"? Alex Pyrgiotis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).