From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ming Lin Subject: Re: bcache fails after reboot if discard is enabled Date: Wed, 29 Apr 2015 11:00:02 -0700 Message-ID: References: <54A66945.6030403@profihost.ag> <54A66C44.6070505@profihost.ag> <54A819A0.9010501@rolffokkens.nl> <54A843BC.608@profihost.ag> <55257303.8020008@profihost.ag> <3ldgvb-het.ln1@hurikhan77.spdns.de> <5a1mvb-6k.ln1@hurikhan77.spdns.de> <3k5mvb-c14.ln1@hurikhan77.spdns.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail.kernel.org ([198.145.29.136]:59833 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031701AbbD2SAF (ORCPT ); Wed, 29 Apr 2015 14:00:05 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 34CC2201C8 for ; Wed, 29 Apr 2015 18:00:04 +0000 (UTC) Received: from mail-vn0-f50.google.com (mail-vn0-f50.google.com [209.85.216.50]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4693F2015A for ; Wed, 29 Apr 2015 18:00:03 +0000 (UTC) Received: by vnbf129 with SMTP id f129so4295118vnb.9 for ; Wed, 29 Apr 2015 11:00:02 -0700 (PDT) In-Reply-To: Sender: linux-bcache-owner@vger.kernel.org List-Id: linux-bcache@vger.kernel.org To: Dan Merillat Cc: Kai Krakow , linux-bcache@vger.kernel.org On Wed, Apr 29, 2015 at 10:48 AM, Dan Merillat wrote: > Killed it again - enabled bcache discard, copied a few TB of data from > the backup the the drive, rebooted, different error > "bcache: bch_cached_dev_attach() Couldn't find uuid for in set" > > The exciting failure that required reboot this time was an infinite > spin in bcache_writeback. > > I'll give it another shot at narrowing down exactly what causes the > failure before I give up on bcache entirely. Don't know if it helps or not.Maybe you can have a try these patches: https://git.kernel.org/cgit/linux/kernel/git/mlin/linux.git/log/?h=bcache Ming