]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: use scalable vmap API
authorAlex Elder <aelder@sgi.com>
Tue, 16 Mar 2010 18:55:56 +0000 (18:55 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 16 Mar 2010 20:40:36 +0000 (15:40 -0500)
commitdefddc5b7a64f5fc52531a221a12a392c32d938d
treee510327146e3329d19fac8269cc51d437c8a650f
parent5685fa3299267c896ce231180cc5fd2f1702c6ca
xfs: use scalable vmap API

Re-apply a commit that had been reverted due to regressions
that have since been fixed.

    From 2aecc3cde4254aa43807acd5d644790357b745a9 Mon Sep 17 00:00:00 2001
    From: Nick Piggin <npiggin@suse.de>
    Date: Tue, 6 Jan 2009 14:43:09 +1100

    Implement XFS's large buffer support with the new vmap APIs. See the vmap
    rewrite (bef581e0) for some numbers. The biggest improvement that comes from
    using the new APIs is avoiding the global KVA allocation lock on every call.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Only modifications here were a minor reformat, plus making the patch
apply given the new use of xfs_buf_is_vmapped().

Modified-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c