diff options
author | Jan Kara <jack@suse.cz> | 2017-05-12 15:46:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-12 15:57:16 -0700 |
commit | fb26a1cbed8c90025572d48bc9eabe59f7571e88 (patch) | |
tree | 900f3fb406c1c78f42d8d036c89de2a8fc452993 /fs/dax.c | |
parent | cd656375f94632d7b5af57bf67b7b5c0270c591c (diff) | |
download | linux-stable-fb26a1cbed8c90025572d48bc9eabe59f7571e88.tar.gz linux-stable-fb26a1cbed8c90025572d48bc9eabe59f7571e88.tar.bz2 linux-stable-fb26a1cbed8c90025572d48bc9eabe59f7571e88.zip |
ext4: return to starting transaction in ext4_dax_huge_fault()
DAX will return to locking exceptional entry before mapping blocks for a
page fault to fix possible races with concurrent writes. To avoid lock
inversion between exceptional entry lock and transaction start, start
the transaction already in ext4_dax_huge_fault().
Fixes: 9f141d6ef6258a3a37a045842d9ba7e68f368956
Link: http://lkml.kernel.org/r/20170510085419.27601-4-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions