search for: pf_memalloc

Displaying 5 results from an estimated 5 matches for "pf_memalloc".

2002 Jun 22
1
Can't seem to recover errors
Hi, When trying to run a particular program, I reproducibly get a few dozen kernel messages of the form: attempt to access beyond end of device 03:06: rw=0, want=536995844, limit=11680168 attempt to access beyond end of device 03:06: rw=0, want=1342296068, limit=11680168
2001 May 17
0
Fwd: ext3 for 2.4
...-> generic_file_write() -> __alloc_pages() -> page_launder() -> ext3_writepage() This is bad. It will cause ext3 to be reentered while it has a transaction open against a different fs. This will corrupt filesystems and can deadlock. Making ext3_file_write() set PF_MEMALLOC wasn't suitable. It easily causes 0-order allocation failures within generic_file_write(). The current approach to this is, in ext3_writepage(), to detect when ext3 is being reentered and to simply *return* without writing the page at all. This is kludgy but should work - the only...
2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
...x-2.4.29-pre3-bk2/fs/jbd/transaction.c 2004-08-08 08:26:05.000000000 +0900 +++ linux-2.4.29-pre3-bk2_fix/fs/jbd/transaction.c 2005-01-04 19:58:32.000000000 +0900 @@ -1484,7 +1484,7 @@ * to wait for the commit to complete. */ if (handle->h_sync && !(current->flags & PF_MEMALLOC)) - log_wait_commit(journal, tid); + err = log_wait_commit(journal, tid); } kfree(handle); return err; @@ -1509,7 +1509,7 @@ goto out; } handle->h_sync = 1; - journal_stop(handle); + ret = journal_stop(handle); out: unlock_kernel(); return ret; diff -Nru linux-2.4....
2018 Mar 19
3
Gluster very poor performance when copying small files (1x (2+1) = 3, SSD)
Hi, On 03/19/2018 03:42 PM, TomK wrote: > On 3/19/2018 5:42 AM, Ondrej Valousek wrote: > Removing NFS or NFS Ganesha from the equation, not very impressed on my > own setup either.? For the writes it's doing, that's alot of CPU usage > in top. Seems bottle-necked via a single execution core somewhere trying > to facilitate read / writes to the other bricks. > >
2010 Aug 04
6
[PATCH -v2 0/3] jbd2 scalability patches
This version fixes three bugs in the 2nd patch of this series that caused kernel BUG when the system was under race. We weren't accounting with t_oustanding_credits correctly, and there were race conditions caused by the fact the I had overlooked the fact that __jbd2_log_wait_for_space() and jbd2_get_transaction() requires j_state_lock to be write locked. Theodore Ts'o (3): jbd2: Use