| From: |
| Andi Kleen <andi@firstfloor.org> |
| To: |
| viro@zeniv.linux.org.uk |
| Subject: |
| Improve lseek scalability |
| Date: |
| Mon, 22 Aug 2011 13:49:05 -0700 |
| Message-ID: |
| <1314046152-2175-1-git-send-email-andi@firstfloor.org> |
| Cc: |
| hch@infradead.org, 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.
This is a repost of the earlier version which got some reviews.
v2: Forward ported to recent kernel. Add SEEK_DATA/HOLE support.
Fix a nasty SEEK_END bug in the previous version.
-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/