While trying to fix up GFS2 directio and reading through the code
involving the various lock flags I discovered the DIO_OWN_LOCKING
flag is no longer used.
XFS recently changed it xfs_vm_direct_IO function to call
blockdev_direct_IO_no_locking for reads and
blockdev_direct_IO_own_locking
for writes. But DIO_OWN_LOCKING is only used in the direct IO read case
so effectively the flag is never checked an therefore can probably be
removed.
--
Russell Cattelan <cattelan@xxxxxxxxxxx>
wack_own_locking
Description: Text Data
signature.asc
Description: This is a digitally signed message part
|