Skip to contentSkip to conversation

bcache writeback hang with 3.11.5 and 3.10.17

DISCUSSION Pavel Palát 1 participant 2 messages Oct 20, 2013 – Oct 25, 2013 1 message not in the archive bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

Hello,

I have experienced hangs with above kernel and bcache in writeback mode. Hangs are very easily archieved - just do:

mkdir /data/tmp
cp -xar / /data/tmp

Cancel after 1-5 minutes, then do sync (sometimes don't needed) and it hangs. Either the sync hangs and/or the cp (or rm /data/tmp). Behaviour is very consistent, it happens every time I enable writeback and perform IO heavy operations.

I have not experienced the issue so far with writethrough mode.

Hardware is HP j000ec, attaching dmesg from hanged box with both 3.11.5 and 3.10.17 LTS kernel. Distribution is arch linux.

dmesg outputs is available on http://www.devsoft.cz/upload/bcache_bugreport.tar.gz

P.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Pavel Palát

Hello,

I have experienced hangs with above kernel and bcache in writeback mode. Hangs are very easily archieved - just do:

mkdir /data/tmp
cp -xar / /data/tmp

Cancel after 1-5 minutes, then do sync (sometimes don't needed) and it hangs. Either the sync hangs and/or the cp (or rm /data/tmp). Behaviour is very consistent, it happens every time I enable writeback and perform IO heavy operations.

Quoted 7 lines

I have not experienced the issue so far with writethrough mode.

Hardware is HP j000ec, attaching dmesg from hanged box with both 3.11.5 and 3.10.17 LTS kernel. Distribution is arch linux.

dmesg outputs is available on http://www.devsoft.cz/upload/bcache_bugreport.tar.gz

P.

Hello,

update: Tried with 3.12rc6 with same results. It also hangs with writeback.

http://www.devsoft.cz/upload/bcache_312.txt

Best regards,

Pavel Palat