search for: do_generic_file_read

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

2010 Jul 16
1
[PATCH] ocfs2: make __ocfs2_page_mkwrite handle file end properly.
...fs2/mmap.c +++ b/fs/ocfs2/mmap.c @@ -74,9 +74,11 @@ static int __ocfs2_page_mkwrite(struct inode *inode, struct buffer_head *di_bh, /* * Another node might have truncated while we were waiting on * cluster locks. + * We don't check size == 0 before the shift. This is borrowed + * from do_generic_file_read. */ - last_index = size >> PAGE_CACHE_SHIFT; - if (page->index > last_index) { + last_index = (size - 1) >> PAGE_CACHE_SHIFT; + if (unlikely(!size || page->index > last_index)) { ret = -EINVAL; goto out; } @@ -107,7 +109,7 @@ static int __ocfs2_page_mkwrite(struct...
2003 Oct 27
2
EXT3 deadlock in 2.4.22 and 2.4.23-pre7 - quota related?
...igger" output. A substantial number of nfsd threads a waiting to "start a handle": nfsd Call Trace: [sleep_on+75/124] [start_this_handle+205/368] [journal_start+149/196] [ext3_dirty_inode+116/268] [__mark_inode_dirty+50/168] [update_atime+75/80] [do_generic_file_read+1158/1172] [generic_file_read+147/400] [file_read_actor+0/224] [nfsd_read+477/636] [nfsd3_proc_read+295/388] [nfsd_dispatch+207/406] [svc_process+655/1264] [nfsd+566/944] [arch_kernel_thread+40/56] This sleep_on is the one at line 136 of transcation.c(start_thi...
2002 Mar 27
1
assertion in journal_start
...race; c014c359 <prune_icache+b9/e0> Trace; c014c3a0 <shrink_icache_memory+20/40> Trace; c012fafe <shrink_caches+6e/90> Trace; c012fb5c <try_to_free_pages+3c/60> Trace; c01304ce <balance_classzone+5e/1b0> Trace; c013073b <__alloc_pages+11b/180> Trace; c0128f69 <do_generic_file_read+349/460> Trace; c01293cc <generic_file_read+7c/130> Trace; c0129270 <file_read_actor+0/e0> Trace; c01506f1 <read_dquot+91/100> Trace; c0150c9f <dqget+15f/1e0> Trace; c0151856 <dquot_initialize+a6/180> Trace; c015cf7b <ext3_new_inode+8cb/a10> Trace; c016bc77 &l...
2003 Mar 06
0
Re: re problems with ext3 well if think it is
...t_write_access+340 [0xc015fb48] 1 journal_get_write_access+52 [0xc015ff34] 2 ext3_do_update_inode+469 [0xc01599f9] 3 ext3_mark_iloc_dirty+29 [0xc0159e51] 4 ext3_mark_inode_dirty+36 [0xc0159f54] 5 ext3_dirty_inode+208 [0xc015a034] 6 __mark_inode_dirty+44 [0xc01464e4] 7 update_atime+70 [0xc0147a22] 8 do_generic_file_read+1105 [0xc012674d] 9 generic_file_read+124 [0xc0126a10] 10 sys_read+141 [0xc0133305] 11 system_call+44 [0xc0106e48] ebx: 00000004 ecx: 0810dc38 edx: 00001000 esi: 0810a0b9 edi: 3e65d011 ebp: bfff9a5c eax: 00000003 ds: 002b es: 002b eip: 401a7004 cs: 0023 eflags: 00000293...
2002 Aug 15
0
sys_ftruncate call lasting 17 hours on ext3 filesystem from mutt
...0x3b 18:03:10 kernel: [<c0124f2e>] vmtruncate [kernel] 0x96 18:03:10 kernel: [<c01491f0>] inode_setattr [kernel] 0x24 18:03:10 kernel: [<d401f963>] ext3_setattr [ext3] 0x1c3 18:03:10 kernel: [<d401d810>] ext3_get_block [ext3] 0x0 18:03:10 kernel: [<c01281db>] do_generic_file_read [kernel] 0x2c3 18:03:10 kernel: [<c0149359>] notify_change [kernel] 0x5d 18:03:10 kernel: [<c012a2aa>] generic_file_write [kernel] 0x5c2 18:03:10 kernel: [<c01348ce>] do_truncate [kernel] 0x46 18:03:10 kernel: [<c0134bd1>] sys_ftruncate [kernel] 0x12d 18:03:10 kerne...
2001 Dec 13
2
Kernel crash on 2.4.16
...s_per_page+148/e4f8> <===== Trace; c0080384 <journal_blocks_per_page+a8/e4f8> Trace; c0076440 <journal_start+ac/3a8> Trace; c006f998 <grok_partitions+9358/fd54> Trace; c0055650 <__mark_inode_dirty+4c/948> Trace; c0057394 <update_atime+64/74> Trace; c0029c18 <do_generic_file_read+4d0/8b4> Trace; c002a08c <generic_file_read+90/8bc> Trace; c0045fc4 <kernel_read+58/354> Trace; c00466a8 <prepare_binprm+100/114> Trace; c0046dec <do_execve+17c/290> Trace; c0006ed0 <start_thread+190/334> Trace; c0003dfc <set_context+6c0/8f0> Trace; 0000000c B...
2004 Aug 06
1
ices crash
...5 00000013 c1c66000 c1c67e5c c65a6600 Feb 6 14:26:47 bauhaus kernel: 00000014 c0122cb9 00000005 00000013 00000801 c1c67ea8 c1c66000 00000000 Feb 6 14:26:47 bauhaus kernel: Call Trace: [shrink_mmap+278/372] [try_to_free_pages+57/164] [__get_free_pages+282/1116] [try_to_read_ahead+47/272] [do_generic_file_read+640/1272] [unmap_fixup+291/304] [generic_file_read+91/116] Feb 6 14:26:47 bauhaus kernel: [file_read_actor+0/80] [sys_read+178/208] [common_interrupt+24/32] [error_code+45/64] [system_call+52/64] [startup_32+43/285] Feb 6 14:26:47 bauhaus kernel: Code: 83 7e 20 00 75 62 f6 46 18 46 75 5c...
2002 Nov 11
1
update: sys_ftruncate call lasting 17 hours on ext3 filesystem from mutt
...0x3b 18:03:10 kernel: [<c0124f2e>] vmtruncate [kernel] 0x96 18:03:10 kernel: [<c01491f0>] inode_setattr [kernel] 0x24 18:03:10 kernel: [<d401f963>] ext3_setattr [ext3] 0x1c3 18:03:10 kernel: [<d401d810>] ext3_get_block [ext3] 0x0 18:03:10 kernel: [<c01281db>] do_generic_file_read [kernel] 0x2c3 18:03:10 kernel: [<c0149359>] notify_change [kernel] 0x5d 18:03:10 kernel: [<c012a2aa>] generic_file_write [kernel] 0x5c2 18:03:10 kernel: [<c01348ce>] do_truncate [kernel] 0x46 18:03:10 kernel: [<c0134bd1>] sys_ftruncate [kernel] 0x12d 18:03:10 kerne...
2001 May 04
1
LVM 0.9.1beta7 and ext3 0.0.6b
...<cleanup_transaction+12b/158> Trace; c015fbae <log_do_checkpoint+1c6/220> Trace; c015f86d <log_wait_for_space+8d/b0> Trace; c015c98b <start_this_handle+307/3a8> Trace; c015caa3 <journal_start+77/a0> Trace; c0152986 <ext3_notify_change+14a/360> Trace; c0120176 <do_generic_file_read+8d2/8e0> Trace; c0139638 <notify_change+40/64> Trace; c0129067 <do_truncate+5f/ac> Trace; c01329bc <open_namei+474/4d4> Trace; c0129e40 <filp_open+44/f8> Trace; c012a08e <sys_open+36/94> Trace; c010a034 <system_call+34/38> Code; c012c25f <refile_buffer+17/...
2002 Jul 30
1
Disk Hangs with 2.4.18 and ext3
...his_handle [jbd] 0xc5 [<f885d37d>] journal_start_Rsmp_89deb980 [jbd] 0xbd [<f887297e>] ext3_dirty_inode [ext3] 0x6e [<c014ce7e>] link_path_walk [kernel] 0xa3e [<c0156f2e>] __mark_inode_dirty [kernel] 0x2e [<c01588b1>] update_atime [kernel] 0x51 [<c01303af>] do_generic_file_read [kernel] 0x48f [<c014d4c2>] __user_walk [kernel] 0x32 [<c013072e>] generic_file_read [kernel] 0x7e [<c01305b0>] file_read_actor [kernel] 0x0 [<c0141986>] sys_read [kernel] 0x96 [<c0140000>] sys_truncate [kernel] 0x0 [<c0108c6b>] system_call [kernel] 0x33...
2002 Jul 18
0
Fwd: oops with 2.4.18 and preempt patch, on SMP + ext3 machine
...00000000 e655f7c0 f3212480 f73d8c60 f5806880 Jul 4 20:53:15 localhost kernel: Call Trace: [ext3_reserve_inode_write+50/172] [start_this_handle+284/352] [ext3_mark_inode_dirty+26/52] [ext3_dirty_inode+163/276] [__mark_inode_dirty+50/188] Jul 4 20:53:15 localhost kernel: [update_atime+75/80] [do_generic_file_read+1159/1172] [generic_file_read+126/300] [file_read_actor+0/224] [sys_read+143/312] [system_call+51/56] Jul 4 20:53:15 localhost kernel: Jul 4 20:53:15 localhost kernel: Code: f0 ff 8b 94 00 00 00 0f 88 17 15 00 00 6a 00 57 56 e8 f7 f9 Jul 4 20:53:15 localhost kernel: <6>note: wander[351...