]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix reserved cluster accounting at page invalidation time
authorEric Whitney <enwlinux@gmail.com>
Mon, 1 Oct 2018 18:33:24 +0000 (14:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Oct 2018 18:33:24 +0000 (14:33 -0400)
commiteb25984968058f7487276761f04cd5e615dcb6fd
treef9288b3c7bc0ee23d160b1bc858fa1d002fa8c96
parent267c415cd9ec63afaaa58e7a78dc3c190c9d697d
ext4: fix reserved cluster accounting at page invalidation time

Add new code to count canceled pending cluster reservations on bigalloc
file systems and to reduce the cluster reservation count on all file
systems using delayed allocation.  This replaces old code in
ext4_da_page_release_reservations that was incorrect.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents_status.c
fs/ext4/inode.c