Re: [PATCH 5/5] CIFS: Fix write after setting a read lock for read oplock files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/11/28 Jeff Layton <jlayton@xxxxxxxxxx>:
> There's also a lot of logic around what sort of locking you're doing
> here too. I think we ought to do the same sort of I/O regardless of
> whether POSIX locks are being used or not.

We can use cifs_writev for both POSIX and mandatory variants but I
divided them to make POSIX variant work faster (no need to check hold
a semaphore, walk through a lock list, etc).

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux