xfs
[Top] [All Lists]

[PATCH] Remove DIO_OWN_LOCKING

To: linux-fsdevel@xxxxxxxxxxxxxxx
Subject: [PATCH] Remove DIO_OWN_LOCKING
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Thu, 12 Oct 2006 19:56:38 -0500
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
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>

Attachment: wack_own_locking
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>