commit | 6793f1c450b1533a5e9c2493490de771d38b24f9 | [log] [tgz] |
---|---|---|
author | Martin Brandenburg <[email protected]> | Thu Jan 25 19:39:44 2018 -0500 |
committer | Linus Torvalds <[email protected]> | Thu Jan 25 17:26:24 2018 -0800 |
tree | 5d821cb1fa344cb6c99f9a58e2da5e68ed039653 | |
parent | 6e20630e300486045bf480139c9e17e7071629ce [diff] |
orangefs: fix deadlock; do not write i_size in read_iter After do_readv_writev, the inode cache is invalidated anyway, so i_size will never be read. It will be fetched from the server which will also know about updates from other machines. Fixes deadlock on 32-bit SMP. See https://marc.info/?l=linux-fsdevel&m=151268557427760&w=2 Signed-off-by: Martin Brandenburg <[email protected]> Cc: Al Viro <[email protected]> Cc: Mike Marshall <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>