summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-02-28 13:12:38 -0500
committerTheodore Ts'o <tytso@mit.edu>2011-02-28 13:12:38 -0500
commitb616844310a6c8a4ab405d3436bbb6e53cfd852f (patch)
tree7fff51c3d55b21df27d93382c8bd0f2910f83263 /fs/ext4/super.c
parentd39195c33bb1b5fdcb0f416e8a0b34bfdb07a027 (diff)
ext4: optimize ext4_bio_write_page() when no extent conversion is needed
If no extent conversion is required, wake up any processes waiting for the page's writeback to be complete and free the ext4_io_end structure directly in ext4_end_bio() instead of dropping it on the linked list (which requires taking a spinlock to queue and dequeue the io_end structure), and waiting for the workqueue to do this work. This removes an extra scheduling delay before process waiting for an fsync() to complete gets woken up, and it also reduces the CPU overhead for a random write workload. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions