[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAO+b5-rL=ucZ-2bA9Qj-RfWbJzGasDBQMLF_4XX2xzC28YECBg@mail.gmail.com>
Date: Tue, 27 Sep 2011 19:57:14 +0200
From: Bart Van Assche <bvanassche@....org>
To: Dave Chinner <david@...morbit.com>
Cc: Lukas Czerner <lczerner@...hat.com>,
Jens Axboe <jaxboe@...ionio.com>,
Mike Snitzer <snitzer@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: blkdev_issue_discard() hangs forever if the underlying storage
device is removed
On Tue, Aug 30, 2011 at 4:01 AM, Dave Chinner <david@...morbit.com> wrote:
> The underlying block device driver is supposed to handle timing out
> of lost IOs and causing them to be completed with an error.
> blkdev_issue_discard() is simply waiting for that error to be
> delivered.
Hi Dave,
You're probably right that it's not a block layer issue. This patch
fixed it for me: http://marc.info/?l=linux-scsi&m=131680195721932&w=2
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists