Here is v2 of the llseek improvements, main changes are: * Patch 1 - changed the locking scheme. I'm now using inode_lock_shared since holding the extent lock is not sufficient to prevent concurrent truncates. * Fixed lingo bugs in patch 2 changelog (Johaness) Nikolay Borisov (3): btrfs: Speed up btrfs_file_llseek btrfs: Simplify btrfs_file_llseek btrfs: Return offset from find_desired_extent fs/btrfs/file.c | 62 ++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 34 deletions(-) -- 2.17.1
