From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752691AbbGOP5v (ORCPT ); Wed, 15 Jul 2015 11:57:51 -0400 Received: from mail-yk0-f175.google.com ([209.85.160.175]:33441 "EHLO mail-yk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751792AbbGOP5V (ORCPT ); Wed, 15 Jul 2015 11:57:21 -0400 Date: Wed, 15 Jul 2015 11:57:19 -0400 From: Tejun Heo To: Mikulas Patocka Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] libata: increase the timeout when setting transfer mode Message-ID: <20150715155719.GD15934@mtj.duckdns.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 08, 2015 at 01:06:12PM -0400, Mikulas Patocka wrote: > I have a ST4000DM000 disk. If Linux is booted while the disk is spun down, > the command that sets transfer mode causes the disk to spin up. The > spin-up takes longer than the default 5s timeout, so the command fails and > timeout is reported. > > Fix this by increasing the timeout to 15s, which is enough for the disk to > spin up. > > Signed-off-by: Mikulas Patocka > Cc: stable@vger.kernel.org Applied to libata/for-4.2-fixes. Thanks! -- tejun