From patchwork Mon Jul 26 08:27:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kulikov Vasiliy X-Patchwork-Id: 114208 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6Q8Spqb031441 for ; Mon, 26 Jul 2010 08:28:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753981Ab0GZI2d (ORCPT ); Mon, 26 Jul 2010 04:28:33 -0400 Received: from mail-ew0-f46.google.com ([209.85.215.46]:43018 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753888Ab0GZI2b (ORCPT ); Mon, 26 Jul 2010 04:28:31 -0400 Received: by ewy23 with SMTP id 23so740381ewy.19 for ; Mon, 26 Jul 2010 01:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=1CAP2gcYeSbKBWdrxN8bVwBrnKcevMgeii0sjw96tEw=; b=x24+3UNQsmD+Cv+UFU0GGgob1IasiXnuaUQs8hxQYOXespuCysY9JIGOPbYuhXF2x4 xselm4kwg4kz1XQQz/QazsTdyouWZrM0txxX5N3HJe/dWic1STHuZh/yKY+6/YcIu0JA WyVgSsuXYwWDO/Xw4Mu3An6GmUMc3tr8ns+Z8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=q9PRNNoG4GM/4SYhvUZfzOUWAQO77tT1uAAgyJYV25pzvl3+S83g+rh/DlGuA0VO3S IX8mjdOXduwXdN1DVnuLaAfkofafo2rJBwXeACjRbjK+q6B9BvKtVC4Was0bqodaEiVV +vOrpGvT6aGBuNzs4o3NNvgHsKPmKmhfEmlIY= Received: by 10.213.10.145 with SMTP id p17mr3153701ebp.17.1280132910317; Mon, 26 Jul 2010 01:28:30 -0700 (PDT) Received: from localhost ([213.87.88.32]) by mx.google.com with ESMTPS id z55sm5287584eeh.9.2010.07.26.01.28.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Jul 2010 01:28:29 -0700 (PDT) From: Kulikov Vasiliy To: kernel-janitors@vger.kernel.org Cc: Chris Mason , Tejun Heo , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] btrfs: set task state with schedule_timeout_uninterruptible() Date: Mon, 26 Jul 2010 12:27:43 +0400 Message-Id: <1280132864-8266-1-git-send-email-segooon@gmail.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 26 Jul 2010 08:28:52 +0000 (UTC) diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 7ec1409..54eb070 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-thread.c @@ -362,7 +362,7 @@ again: * worker->working is still 1, so nobody * is going to try and wake us up */ - schedule_timeout(1); + schedule_timeout_uninterruptible(1); smp_mb(); if (!list_empty(&worker->pending) || !list_empty(&worker->prio_pending))