search for: ocfs2_file_aio_read

Displaying 11 results from an estimated 11 matches for "ocfs2_file_aio_read".

2013 Jul 25
0
[PATCH V8 21/33] ocfs2: add support for read_iter and write_iter
...0); + written = generic_file_buffered_write_iter(iocb, iter, *ppos, + ppos, count, 0); current->backing_dev_info = NULL; } @@ -2520,7 +2514,7 @@ static ssize_t ocfs2_file_splice_read(struct file *in, in->f_path.dentry->d_name.name, len); /* - * See the comment in ocfs2_file_aio_read() + * See the comment in ocfs2_file_read_iter() */ ret = ocfs2_inode_lock_atime(inode, in->f_path.mnt, &lock_level); if (ret < 0) { @@ -2535,19 +2529,18 @@ bail: return ret; } -static ssize_t ocfs2_file_aio_read(struct kiocb *iocb, - const struct iovec *iov, - uns...
2013 Jan 09
0
[PATCH V5 19/30] ocfs2: add support for read_iter, write_iter, and direct_IO_bvec
...0); + written = generic_file_buffered_write_iter(iocb, iter, *ppos, + ppos, count, 0); current->backing_dev_info = NULL; } @@ -2524,7 +2518,7 @@ static ssize_t ocfs2_file_splice_read(struct file *in, in->f_path.dentry->d_name.name, len); /* - * See the comment in ocfs2_file_aio_read() + * See the comment in ocfs2_file_read_iter() */ ret = ocfs2_inode_lock_atime(inode, in->f_vfsmnt, &lock_level); if (ret < 0) { @@ -2539,19 +2533,18 @@ bail: return ret; } -static ssize_t ocfs2_file_aio_read(struct kiocb *iocb, - const struct iovec *iov, - unsig...
2009 Jun 19
2
[PATCH] ocfs2: Update atime in splice read if necessary.
We should call ocfs2_inode_lock_atime instead of ocfs2_inode_lock in ocfs2_file_splice_read like we do in ocfs2_file_aio_read so that we can update atime in splice read if necessary. Signed-off-by: Tao Ma <tao.ma at oracle.com> --- fs/ocfs2/file.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 775ac34..95cba48 100644 --- a/fs/ocfs2/file.c +++ b...
2013 Oct 21
1
Kernel BUG in ocfs2_get_clusters_nocache
...ff8172168e>] ? _raw_spin_lock+0xe/0x20 [Fri Oct 18 10:52:28 2013] [<ffffffffa02843db>] ? __ocfs2_cluster_unlock.isra.32+0x9b/0xe0 [ocfs2] [Fri Oct 18 10:52:28 2013] [<ffffffffa02847a9>] ? ocfs2_inode_unlock+0xb9/0x130 [ocfs2] [Fri Oct 18 10:52:28 2013] [<ffffffffa028dcf9>] ocfs2_file_aio_read+0xd9/0x3c0 [ocfs2] [Fri Oct 18 10:52:28 2013] [<ffffffff811ae425>] do_sync_readv_writev+0x65/0x90 [Fri Oct 18 10:52:28 2013] [<ffffffff811afba2>] do_readv_writev+0xd2/0x2b0 [Fri Oct 18 10:52:28 2013] [<ffffffff811eeda2>] ? fsnotify+0x1d2/0x2b0 [Fri Oct 18 10:52:28 2013] [<...
2010 Nov 19
5
[PATCH 1/1] Ocfs2: Teach 'coherency=full' O_DIRECT writes to correctly up_read i_alloc_sem.
Former logic of ocfs2_file_aio_write() was a bit stricky to unlock the rw_lock and i_alloc_sem, by using some private bits in struct 'iocb' to communite with ocfs2_dio_end_io(), it did work before we introduce the patch of supporting 'coherency=full,buffered' option, since rw_lock and i_alloc_sem were never acquired both at the same time, no mattar we doing buffered or direct IO or
2010 Dec 15
2
loss of connection
My log says suddenly: Dec 14 02:35:16 hp1 kernel: [1492482.232822] o2net: no longer connected to node hp2 (num 1) at 192.168.1.2:7777 Dec 14 02:35:18 hp1 kernel: [1492483.960150] BUG: soft lockup - CPU#1 stuck for 61s! [kvm:32398] I have no idea what happens here and why - but the result are a lot of problems with virtual machines. Viele Gr??e Andreas Rittershofer -- Hier k?nnte keine
2011 Jun 24
10
[PATCH 0/9] remove i_alloc_sem V2
i_alloc_sem has always been a bit of an odd "lock". It''s the only remaining rw_semaphore that can be released by a different thread than the one that locked it, and it''s use case in the core direct I/O code is more like a counter given that the writers already have external serialization. This series removes it in favour of a simpler counter scheme, thus getting rid
2007 Jun 26
3
1.2.6 compile failures
.../accountadmin/ocfs2-1.2.6/fs/ocfs2/aio.c:45: /data/images/keymaker/home/accountadmin/ocfs2-1.2.6/fs/ocfs2/inode.h:115: warning: `kmem_cache_t' is deprecated (declared at include/linux/slab.h:17) /data/images/keymaker/home/accountadmin/ocfs2-1.2.6/fs/ocfs2/aio.c: In function `ocfs2_file_aio_read': /data/images/keymaker/home/accountadmin/ocfs2-1.2.6/fs/ocfs2/aio.c:281: warning: passing arg 2 of `generic_file_aio_read' from incompatible pointer type /data/images/keymaker/home/accountadmin/ocfs2-1.2.6/fs/ocfs2/aio.c: In function `ocfs2_file_aio_write': /dat...
2009 Apr 20
2
BUG: soft lockup - CPU#1 stuck for 61s
...2:ocfs2_readpage+0x7e/0x33f Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffff80270eef>] ? find_get_page+0x4a/0x54 Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffff80272bdc>] ? generic_file_aio_read+0x31f/0x4a9 Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffffa0337182>] ? :ocfs2:ocfs2_file_aio_read+0x282/0x395 Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffff8020bf79>] ? sysret_signal+0x2b/0x45 Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffff8029ad13>] ? do_sync_read+0xc9/0x10c Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffff802461b1>] ? autoremove_wake_function+0x0/0x2...
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
...nfigfs: call drop_link() to cleanup after create_link() failure Randy Dunlap (1): ocfs2: fix printk format warnings with OCFS2_FS_STATS=n Sunil Mushran (4): ocfs2: Add CONFIG_OCFS2_FS_STATS config option ocfs2: Instrument fs cluster locks ocfs2: Silence an error message in ocfs2_file_aio_read() ocfs2/net: Silence build warnings on sparc64 Wengang Wang (1): ocfs2: Handle error during journal load
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding changes for Ocfs2. Aside from the usual set of cleanups and fixes that were inappropriate for 2.6.25, there are a few highlights: The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location meshes better with modern sysfs layout. A symbolic link has been placed in the old location so as to