mbox series

[0/15,v2] BTRFS DIO inode locking/D_SYNC fix

Message ID 20200921144353.31319-1-rgoldwyn@suse.de (mailing list archive)
Headers show
Series BTRFS DIO inode locking/D_SYNC fix | expand


Goldwyn Rodrigues Sept. 21, 2020, 2:43 p.m. UTC
I have merged two series here:
(1) Using inode_lock_shared for <EOF DIO writes

Both require inode locking to be pushed closer to I/O calls and thought
was relevant. (2) requires changes in iomap code. If there is a need to 
separate the two please let me know. I don't have any ulterior motives
here ;)

Testing: xfstests on both btrfs and xfs

Git: https://github.com/goldwynr/linux/tree/btrfs-inode-lock

Changes since v1:

 - Changed fix for deadlock due to O_DSYNC (iomap patches added)
 - btrfs_inode_lock() shifted to inode.c
 - Reinstated lockdep_assert_held() in iomap_dio_rw()