]> asedeno.scripts.mit.edu Git - linux.git/commit
dax: Define DAX lock bit for radix tree exceptional entry
authorJan Kara <jack@suse.cz>
Thu, 12 May 2016 16:29:16 +0000 (18:29 +0200)
committerRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 19 May 2016 21:14:55 +0000 (15:14 -0600)
commite804315dd0f574b56155c5a2406ab5e0318104f7
tree4f32114d6642bf2f4a1863ac58d684e6c7ce5cda
parent348e967ab07c96a9e7a6a194812254a8df2045c0
dax: Define DAX lock bit for radix tree exceptional entry

We will use lowest available bit in the radix tree exceptional entry for
locking of the entry. Define it. Also clean up definitions of DAX entry
type bits in DAX exceptional entries to use defined constants instead of
hardcoding numbers and cleanup checking of these bits to not rely on how
other bits in the entry are set.

Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
fs/dax.c
include/linux/dax.h