From: Sandeep Joshi Subject: Re: process hangs in ext4_sync_file Date: Mon, 6 Jan 2014 20:38:05 +0530 Message-ID: References: <20140106143203.GA13648@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-ext4@vger.kernel.org To: "Theodore Ts'o" Return-path: Received: from mail-ig0-f176.google.com ([209.85.213.176]:38493 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbaAFPIG (ORCPT ); Mon, 6 Jan 2014 10:08:06 -0500 Received: by mail-ig0-f176.google.com with SMTP id k19so7440071igc.3 for ; Mon, 06 Jan 2014 07:08:06 -0800 (PST) In-Reply-To: <20140106143203.GA13648@thunk.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Mon, Jan 6, 2014 at 8:02 PM, Theodore Ts'o wrote: > On Mon, Jan 06, 2014 at 03:58:58PM +0530, Sandeep Joshi wrote: >> I reported a problem with process hanging in ext4 sync on a SSD a few weeks ago >> See this thread http://www.spinics.net/lists/linux-ext4/msg40369.html >> >> That was on a SSD with discard option enabled. I was asked to turn >> that off which I did and never hit the issue again. >> >> Today I saw the same problem on an ext4 filesystem mounted on a loop >> device. The stack is *identical*. > > What model SSD are you using? This looks like the we're just waiting > for the SSD to acknowledge that the write has been completed. This > really smells like a case of a crappy SSD.... > > - Ted Ted, Forgot to mention that in this case the loop device was on a hard device on my laptop. No SSD involved in this failure. -Sandeep