]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: cache no acl on new inodes
authorJosef Bacik <josef@redhat.com>
Mon, 23 Apr 2012 17:55:30 +0000 (13:55 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 30 May 2012 14:23:27 +0000 (10:23 -0400)
commita44c75ba92bb37a1ab9248d4c004b9806dbd1ed9
tree127c63efa5d8676e9915124654e42dda27276847
parent0a0748bcaed77c8c9f3fc1cc26fcf15e3134b049
Btrfs: cache no acl on new inodes

When running compilebench I noticed we were spending some time looking up
acls on new inodes, which shouldn't be happening since there were no acls.
This is because when we init acls on the inode after creating them we don't
cache the fact there are no acls if there aren't any.  Doing this adds a
little bit of a bump to my compilebench runs.  Thanks,
Btrfs: cache no acl on new inodes

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/acl.c