diff options
author | Lukas Czerner <lczerner@redhat.com> | 2014-04-20 23:44:47 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-04-20 23:44:47 -0400 |
commit | 090f32ee4ef0a59c738963c6b0a6948cc5dee84c (patch) | |
tree | 1607ea017a0ba3d4373dd91a5b0d39c6bd64377f /include/trace | |
parent | 9ac03675010a69507c0a9d832d6a722e07d35cc6 (diff) | |
download | op-kernel-dev-090f32ee4ef0a59c738963c6b0a6948cc5dee84c.zip op-kernel-dev-090f32ee4ef0a59c738963c6b0a6948cc5dee84c.tar.gz |
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>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/ext4.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/trace/events/ext4.h b/include/trace/events/ext4.h index 6a1a024..9995d3b 100644 --- a/include/trace/events/ext4.h +++ b/include/trace/events/ext4.h @@ -51,7 +51,6 @@ struct extent_status; { EXT4_MAP_MAPPED, "M" }, \ { EXT4_MAP_UNWRITTEN, "U" }, \ { EXT4_MAP_BOUNDARY, "B" }, \ - { EXT4_MAP_UNINIT, "u" }, \ { EXT4_MAP_FROM_CLUSTER, "C" }) #define show_free_flags(flags) __print_flags(flags, "|", \ |