]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/btrfs/file-item.c
Btrfs: Optimize csum insertion to create larger items when possible
authorChris Mason <chris.mason@oracle.com>
Thu, 25 Oct 2007 19:42:56 +0000 (15:42 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:57 +0000 (11:03 -0400)
commitf578d4bd7e141dd03ca7e8695c1cc118c326e69e
treebb89f7548f3c537ed34ddf9d0ac71f3a6fefff85
parent5ee78ac70f6c01f2a5acf662c2af975665710edc
Btrfs: Optimize csum insertion to create larger items when possible

This reduces the number of calls to btrfs_extend_item and greatly lowers
the cpu usage while writing large files.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/file-item.c
fs/btrfs/inode.c