Displaying 3 results from an estimated 3 matches for "getlock".
Did you mean:
getloc
2008 Feb 19
1
DLMFS on OracleVM 2.1 (OEL5.0 based)
...document
http://oss.oracle.com/projects/ocfs2/src/branches/ocfs2-1.2/dlmfs.txt
for DLMFS.
Theres one problem. The "O_NONBLOCK" option is not working. I have 2
nodes in my setup that have both mounted the /dlm as dlmfs and both have
mounted a 5 GB OCFS2 test volume on FS SAN.
I run the getlocks script below without O_NONBLOCK on node1 with a sleep
of - eg - 30. Then I run - while the script is running on node1 - the
same script on node2 the input appears on node2 as soon as the script
has finished on node1. Thats what I expeced.
If I run the getlocks script with O_NONBLOCK enabled, nod...
2010 Mar 22
0
[PATCH] Btrfs: change direct I/O read to not use i_mutex.
...to_read;
int err = 0;
- int loop = 0;
u32 blocksize = BTRFS_I(diocb->inode)->root->sectorsize;
/* expand lock region to include what we read to validate checksum */
@@ -450,42 +517,25 @@ static void btrfs_dio_read(struct btrfs_diocb *diocb)
lockend = ALIGN(end, blocksize) - 1;
getlock:
- mutex_lock(&diocb->inode->i_mutex);
+ /* writeout everything we read for checksum or compressed extents */
+ filemap_write_and_wait_range(diocb->inode->i_mapping,
+ diocb->lockstart, lockend);
+ lock_extent(io_tree, diocb->lockstart, lockend, GFP_NOFS);
- /* ensure wri...
2005 Apr 15
3
IBM BladeCenter HS20 blades
Greetings,
We have purchased an IBM BladeCenter and I am in the process of testing
Linux installation on these things (boot off SAN i.e. qla2300 driver,
not using internal drives). My distro of choice is Debian, however,
since I'm really not interested in trying to hand compile all the
drivers, I decided to try CentOS (which I'm so far very impressed with).
On boot, as with the