Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934037AbbELXwl (ORCPT ); Tue, 12 May 2015 19:52:41 -0400 Received: from ipmail06.adl6.internode.on.net ([150.101.137.145]:50967 "EHLO ipmail06.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933352AbbELXwk (ORCPT ); Tue, 12 May 2015 19:52:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2D9FAAikVJVPPDOLHlcgw+HfqxcAQEBAQEBBpsWTQEBAQEBAQcBAQEBQT9BBYQ3IxiBAgMHiFjJfYYWikWEFwWQGpoRiXuBBGYBAQgCAYI1LIJ3AQEB From: Dave Chinner To: xfs@oss.sgi.com Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, tj@kernel.org Subject: [PATCH 0/2 v2] percpu_counter: xfs requires custom compare batch size Date: Wed, 13 May 2015 09:52:32 +1000 Message-Id: <1431474754-15764-1-git-send-email-david@fromorbit.com> X-Mailer: git-send-email 2.0.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 724 Lines: 20 Hi folks, This is v2 of the regression fix for the new generic per-cpu superblock counter code in XFS. The problems fixed arise from using custom batch sizes for addition and decrement exceeding the "accurate compare" bounds in percpu_counter_compare() and hence resulting in incorrect comparisons being made. This regression was introduced in 4.1-rc1 and it requires a small tweak to the percpu counter infrastructure to fix, hence the two patches. Comments welcome! -Dave. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/