LWN.net Logo

Improve lseek scalability v3

From:  Andi Kleen <andi@firstfloor.org>
To:  viro@zeniv.linux.org.uk
Subject:  Improve lseek scalability v3
Date:  Thu, 15 Sep 2011 16:06:46 -0700
Message-ID:  <1316128013-21980-1-git-send-email-andi@firstfloor.org>
Cc:  linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Archive-link:  Article, Thread

Currently generic_file_llseek users synchronize all on the inode i_mutex,
which is very heavy handed because it affects even different processes.

This patchkit attempts to make generic_file_llseek (mostly) lockless.

For details see the individual patches.

v2: Forward ported to recent kernel. Add SEEK_DATA/HOLE support.
Fix a nasty SEEK_END bug in the previous version.
v3: No changes, except rebase. All reviews passed. Just reposting 
for merging.

-Andi
--
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/

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds