Commit [090f32] Maximize Restore History

ext4: get rid of EXT4_MAP_UNINIT flag

Currently EXT4_MAP_UNINIT is used in dioread_nolock case to mark the
cases where we're using dioread_nolock and we're writing into either
unallocated, or unwritten extent, because we need to make sure that
any DIO write into that inode will wait for the extent conversion.

However EXT4_MAP_UNINIT is not only entirely misleading name but also
unnecessary because we can check for EXT4_MAP_UNWRITTEN in the
dioread_nolock case instead.

This commit removes EXT4_MAP_UNINIT flag.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

Lukas Czerner Lukas Czerner 2014-04-21

Theodore Ts'o Theodore Ts'o 2014-04-21

changed fs/ext4/ext4.h
changed fs/ext4/extents.c
changed fs/ext4/inode.c
changed include/trace/events/ext4.h
fs/ext4/ext4.h Diff Switch to side-by-side view
Loading...
fs/ext4/extents.c Diff Switch to side-by-side view
Loading...
fs/ext4/inode.c Diff Switch to side-by-side view
Loading...
include/trace/events/ext4.h Diff Switch to side-by-side view
Loading...