Skip to contentSkip to conversation

Oops with in nfsd - 2.4.19-pre6

DISCUSSION Chris Mason 4 participants 14 messages Oct 31, 2002 – Nov 28, 2002 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · JP Howard

On 31 Oct 2002 15:38:19 -0500, "Chris Mason" <[email protected]> said:
<...>

Quoted 2 lines

The idea is that during boundless operations (creating a hole, and truncates), the journal code wasn't properly reserving log blocks.

<...>

Chris, what can trigger this situation? We're currently running data=journal on 2.4.20pre in production--are we at risk?

This bug is pretty hard to hit. It has been in every single version of journaling reiserfs, including 2.2.x. So far, we've gotten two reports of it in about 3 years (oddly, both were this month).

What can trigger it? I honestly haven't been able to force the problem to happen, it should require a very high load of processes doing deletions (or hole creations), along with a very high system load in general.

The logging code padds all the reservations for space in the log, making it very hard to hit the hard limit of 1024 blocks per transactions.

Both sites that have hit the bug have a very large number of files (millions), meaning that metadata operations will tend to log more blocks, making the bug more likely.

If you have less than a million files, you'll probably never be able to hit it. I'm still going to try and get the fix into 2.4.20 though.

-chris

#2 lore raw
Quoted 23 lines · Chris Mason
Quoted 9 lines · JP Howard

On 31 Oct 2002 15:38:19 -0500, "Chris Mason" <[email protected]> said:
<...>

Quoted 2 lines

The idea is that during boundless operations (creating a hole, and truncates), the journal code wasn't properly reserving log blocks.

<...>

Chris, what can trigger this situation? We're currently running data=journal on 2.4.20pre in production--are we at risk?

This bug is pretty hard to hit. It has been in every single version of journaling reiserfs, including 2.2.x. So far, we've gotten two reports of it in about 3 years (oddly, both were this month).

What can trigger it? I honestly haven't been able to force the problem to happen, it should require a very high load of processes doing deletions (or hole creations), along with a very high system load in general.

The logging code padds all the reservations for space in the log, making it very hard to hit the hard limit of 1024 blocks per transactions.

Quoted 10 lines

Both sites that have hit the bug have a very large number of files (millions), meaning that metadata operations will tend to log more blocks, making the bug more likely.

If you have less than a million files, you'll probably never be able to hit it. I'm still going to try and get the fix into 2.4.20 though.

-chris

Off-topic, and not meaning to scold, but _why_ are you running 2.4.20pre in a _production_ environment anyway? Just curious.

-C

#3 lore raw
In reply to Chris Mason

Hi Chris,

On 31 Oct 2002 16:30:04 -0500
Chris Mason <[email protected]> wrote:

  |  On Thu, 2002-10-31 at 16:08, JP Howard wrote:
  |  > On 31 Oct 2002 15:38:19 -0500, "Chris Mason" <[email protected]> said:
  |  > <...>
  |  > > The idea is that during boundless operations (creating a hole, and
  |  > > truncates), the journal code wasn't properly reserving log blocks. 
  |  > <...>
  |  > 
  |  > Chris, what can trigger this situation? We're currently running
  |  > data=journal on 2.4.20pre in production--are we at risk?
  |  > 
  |  
  |  This bug is pretty hard to hit.  It has been in every single version of
  |  journaling reiserfs, including 2.2.x.  So far, we've gotten two reports
  |  of it in about 3 years (oddly, both were this month).

We hit it almost everyday last week.

Here is another one , from few minutes ago :-(

ksymoops 2.4.5 on i686 2.4.19-pre6. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.19-pre6/ (default)
-m /boot/System.map-2.4.19-pre6 (specified)

kernel BUG at prints.c:334!

invalid operand: 0000
CPU:    0
EIP:    0010:[reiserfs_panic+41/96]    Not tainted
EFLAGS: 00010286
eax: 0000003d   ebx: c0268640   ecx: 00000002   edx: 02000000
esi: f7e4d800   edi: 00000019   ebp: 00000000   esp: f43f1af4
ds: 0018   es: 0018   ss: 0018
Process nfsd (pid: 230, stackpage=f43f1000)
Stack: c02650da c031f5e0 c0268640 f43f1b18 f43f1ec8 f538eae0 c01a1bcc f7e4d800 
       c0268640 00000400 f7e4d800 000004cb f43f1ec8 0265bb4f ffffffff 00000000 
       c0184144 f43f1ec8 f7e4d800 f538eae0 f43f1ec8 0265bb4f 00000001 cb6dd4a0 
Call Trace: [journal_mark_dirty+352/800] [_reiserfs_free_block+180/460] [reiserfs_free_block+39/48] [prepare_for_delete_or_cut+1635/1804] [reiserfs_cut_from_item+151/1312] [reiserfs_do_truncate+765/1068] [reiserfs_delete_object+35/80] [reiserfs_delete_inode+202/316] [reiserfs_delete_inode+0/316] [iput+355/616] [d_delete+98/160] [vfs_unlink+489/544] [nfsd_unlink+403/480] [nfsd3_proc_remove+198/212] [nfsd_dispatch+211/410] [svc_process+653/1236] [nfsd+503/808] [kernel_thread+40/56] 
Code: 0f 0b 4e 01 e0 50 26 c0 68 e0 f5 31 c0 85 f6 74 16 0f b7 46

Using defaults from ksymoops -t elf32-i386 -a i386

Quoted 4 lines
Quoted 4 lines

ebx; c0268640 <MAX_KEY+2220/4aa8>
edx; 02000000 Before first symbol
esi; f7e4d800 <_end+37b06024/385e7824>
esp; f43f1af4 <_end+340aa318/385e7824>

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
0: 0f 0b ud2a
Code; 00000002 Before first symbol
2: 4e dec %esi
Code; 00000003 Before first symbol
3: 01 e0 add %esp,%eax
Code; 00000005 Before first symbol
5: 50 push %eax
Code; 00000006 Before first symbol
6: 26 c0 68 e0 f5 shrb $0xf5,%es:0xffffffe0(%eax)
Code; 0000000b Before first symbol
b: 31 c0 xor %eax,%eax
Code; 0000000d Before first symbol
d: 85 f6 test %esi,%esi
Code; 0000000f Before first symbol
f: 74 16 je 27 <_EIP+0x27> 00000027 Before first symbol
Code; 00000011 Before first symbol
11: 0f b7 46 00 movzwl 0x0(%esi),%eax

  |  
  |  What can trigger it?  I honestly haven't been able to force the problem
  |  to happen, it should require a very high load of processes doing
  |  deletions (or hole creations), along with a very high system load in
  |  general.

Hmm, this is what we currently have :-( right now 128 NFSD thread. 2.4.19-pre6 has
a hardcoded limit and i'd like to raise it to 256 NFSd threads or so , so it would be even more likely to hit the bug.

  |  
  |  The logging code padds all the reservations for space in the log, making
  |  it very hard to hit the hard limit of 1024 blocks per transactions.
  |  
  |  Both sites that have hit the bug have a very large number of files
  |  (millions), meaning that metadata operations will tend to log more
  |  blocks, making the bug more likely.
  |  
  |  If you have less than a million files, you'll probably never be able to
  |  hit it.  I'm still going to try and get the fix into 2.4.20 though.

Do you have a fix that could be used in 2.4.20-(pre|rc) right now ? ( we need quota as well)

This is becoming really critical and even a not 110% tested patch would be welcome.

Thanks,

Philippe.

  |  
  |  -chris
  |  
  |  
  |  
#4 lore raw

On Tue, 2002-11-12 at 12:29, Philippe

Quoted 3 lines

Do you have a fix that could be used in 2.4.20-(pre|rc) right now ? ( we need quota as well)

This is becoming really critical and even a not 110% tested patch would be welcome.

Ok, I was hoping for some confirmation that you've seen the bug fixed with the quota code. Which kernel version + list of patches are you best able to test on? I'll make you patch against that.

-chris

#5 lore raw

On 13 Nov 2002 13:14:18 -0500
Chris Mason <[email protected]> wrote:

  |  Ok, I was hoping for some confirmation that you've seen the bug fixed
  |   with the quota code.  Which kernel version + list of patches are you
  |   best able to test on?  I'll make you patch against that.
  |  
  |   -chris

Unfortunately, we hit the bug again this afternoon :-(

We use to have 2.4.19-pre6 with the quota patches from ftp.suse.com:/pub/people/mason/patches/reiserfs/quota-2.4/2.4.19 ( 0xFFFF test removed in sys_quotactl() in fs/dquot.c to support 32 bit UIDS) and IIRC NFS_ALL patch for 2.4.19

Being unable to run the quota anyway with 2.4.19-pre6,as it would make the filer crash, i upgraded to 2.4.20rc1 + data-logging patches and mounted the fs witn noatime,nodiratime and data=journal

Filer is still heavily loaded but runs fine. Problem now is that we don't have quota working anymore and this is a _big_ issue as warez lovers do test our systems every single minute.

BTW, should i apply the patch posted on LKML ?
Subject:2.[45] fixes for design locking bug in wait_on_page/wait_on_buffer/get_request_wait

Ideally, i'd like to stay with 2.4.20rc1 thus having working quota.
I couldn't check closely enough because of being too busy but i think many important patches have been set into RC1 (new block allocator, etc..).
I tried to have a look to merge the quota code with RC1 but unfortunately my knowledge of quota/reiserfs prevent me from doing anything but cosmetic merge :o)

Let me know what are you plans.

Thanks much,

Philippe

#6 lore raw
Quoted 11 lines · Philippe Gramoullé

On 13 Nov 2002 13:14:18 -0500
Chris Mason <[email protected]> wrote:

  |  Ok, I was hoping for some confirmation that you've seen the bug fixed
  |   with the quota code.  Which kernel version + list of patches are you
  |   best able to test on?  I'll make you patch against that.
  |  
  |   -chris

Unfortunately, we hit the bug again this afternoon :-(

Quoted 7 lines

We use to have 2.4.19-pre6 with the quota patches from ftp.suse.com:/pub/people/mason/patches/reiserfs/quota-2.4/2.4.19 ( 0xFFFF test removed in sys_quotactl() in fs/dquot.c to support 32 bit UIDS) and IIRC NFS_ALL patch for 2.4.19

Being unable to run the quota anyway with 2.4.19-pre6,as it would make the filer crash, i upgraded to 2.4.20rc1 + data-logging patches and mounted the fs witn noatime,nodiratime and data=journal

Ok, I'll make a patch against that.

Quoted 6 lines

Filer is still heavily loaded but runs fine. Problem now is that we don't have quota working anymore and this is a _big_ issue as warez lovers do test our systems every single minute.

BTW, should i apply the patch posted on LKML ?
Subject:2.[45] fixes for design locking bug in wait_on_page/wait_on_buffer/get_request_wait

No, wait for that fix to get into a kernel before using it. There might still be small modifications, and andrea might find a few other places in the kernel with similar races.

The bug results in io stalls, and the machines that do see them stall for between 10 minutes and an hour. If you needed the patch you would have already been complaining ;-) The races do not cause corruptions or crashes of any kind.

Quoted 8 lines

Ideally, i'd like to stay with 2.4.20rc1 thus having working quota.
I couldn't check closely enough because of being too busy but i think many important patches have been set into RC1 (new block allocator, etc..).
I tried to have a look to merge the quota code with RC1 but unfortunately my knowledge of quota/reiserfs prevent me from doing anything but cosmetic merge :o)

Let me know what are you plans.

Jan and I will get an updated quota patch asap, and I'll have my attempted fix for the transaction overflow ready for you against that set of patches in a few hours.

-chris

#7 lore raw
Quoted 4 lines · Chris Mason
Quoted 2 lines

Being unable to run the quota anyway with 2.4.19-pre6,as it would make the filer crash, i upgraded to 2.4.20rc1 + data-logging patches and mounted the fs witn noatime,nodiratime and data=journal

Ok, I'll make a patch against that.

Ok, I'm sending a beta of the patch, it has been through light testing. I'm going to run extended tests overnight (in data=journal mode for Philippe), but I wanted to give Philippe the chance to use this on his own non-critical machines as well.

The patch is fairly simple, but the code involved can be very subtle to I'm trying to be as cautious as possible.

This is against 2.4.20-rc1 + the data logging code. It should fix possible transaction overflows in the journal by pre-reserving space in the transaction during unbounded operations (truncate and hole creation).

It also shows that I owe namesys 1 beer, because it makes hole creation a whole lot faster (I've been blaming the balancing code for poor hole creation speed).

-chris

fs/reiserfs/inode.c +6 -5
@@ -205,14 +205,15 @@
 }
 
 static void restart_transaction(struct reiserfs_transaction_handle *th,
-				struct inode *inode, struct path *path) {
+				struct inode *inode, struct path *path,
+				int jbegin_count) {
   /* we cannot restart while nested unless the parent allows it */
   if (!reiserfs_restartable_handle(th) && th->t_refcount > 1) {
       return  ;
   }
   pathrelse(path) ;
   reiserfs_update_sd(th, inode) ;
-  reiserfs_restart_transaction(th) ;
+  reiserfs_restart_transaction(th, jbegin_count) ;
   reiserfs_update_inode_transaction(inode) ;
 }
 
@@ -652,7 +653,7 @@
 	    ** some blocks.  releases the path, so we have to go back to
 	    ** research if we succeed on the second try
 	    */
-	    restart_transaction(th, inode, &path) ; 
+	    restart_transaction(th, inode, &path, jbegin_count) ; 
 	    repeat = _allocate_block(th, block, inode, &allocated_block_nr, NULL, create);
 
 	    if (repeat != NO_DISK_SPACE) {
@@ -882,8 +883,8 @@
 	** this only happens when inserting holes into the file, so it
 	** does not affect data=ordered safety at all
 	*/
-	if (journal_transaction_should_end(th, th->t_blocks_allocated)) {
-	    restart_transaction(th, inode, &path) ; 
+	if (journal_transaction_should_end(th, jbegin_count)) {
+	    restart_transaction(th, inode, &path, jbegin_count) ; 
 	}
 	/* inserting indirect pointers for a hole can take a 
 	** long time.  reschedule if needed
fs/reiserfs/journal.c +10 -5
@@ -2532,8 +2532,6 @@
 */
 int journal_transaction_should_end(struct reiserfs_transaction_handle *th, int new_alloc) {
   time_t now = CURRENT_TIME ;
-  if (reiserfs_dont_log(th->t_super)) 
-    return 0 ;
 
   /* cannot restart while nested unless the parent allows it */
   if (!reiserfs_restartable_handle(th) && th->t_refcount > 1)
@@ -2545,13 +2543,20 @@
        SB_JOURNAL(th->t_super)->j_cnode_free < (SB_JOURNAL_TRANS_MAX(th->t_super) * 3)) { 
     return 1 ;
   }
+
+  /* we are allowing them to continue in the current transaction, so
+  * we have to bump the blocks allocated now.
+  */
+  th->t_blocks_allocated += new_alloc;
+  SB_JOURNAL(th->t_super)->j_len_alloc += new_alloc;
+
   return 0 ;
 }
 
-int reiserfs_restart_transaction(struct reiserfs_transaction_handle *th) {
+int 
+reiserfs_restart_transaction(struct reiserfs_transaction_handle *th, int num) {
     int refcount = th->t_refcount ;
     struct super_block *s = th->t_super ;
-    int num = th->t_blocks_allocated ;
     int flags = th->t_flags ;
     int parent_flags = 0;
     struct reiserfs_transaction_handle *saved_th = current->journal_info ;
@@ -2568,7 +2573,7 @@
 	parent_flags = saved_th->t_flags ;
     }
     th->t_flags = 0 ;
-    journal_end(th, s, num) ;
+    journal_end(th, s, th->t_blocks_allocated) ;
     journal_begin(th, s, num) ;
     th->t_flags = flags; 
     if (refcount > 1) {
fs/reiserfs/stree.c +3 -2
@@ -1705,6 +1705,7 @@
 	n_new_file_size;/* New file size. */
     int                   n_deleted;      /* Number of deleted or truncated bytes. */
     int retval;
+    int jbegin_count = th->t_blocks_allocated;
 
     if ( ! (S_ISREG(p_s_inode->i_mode) || S_ISDIR(p_s_inode->i_mode) || S_ISLNK(p_s_inode->i_mode)) )
 	return;
@@ -1784,14 +1785,14 @@
 	** sure the file is consistent before ending the current trans
 	** and starting a new one
 	*/
-        if (journal_transaction_should_end(th, th->t_blocks_allocated)) {
+        if (journal_transaction_should_end(th, jbegin_count)) {
 	  decrement_counters_in_path(&s_search_path) ;
 
 	  if (update_timestamps) {
 	      p_s_inode->i_mtime = p_s_inode->i_ctime = CURRENT_TIME;
 	  } 
 	  reiserfs_update_sd(th, p_s_inode) ;
-	  reiserfs_restart_transaction(th) ;
+	  reiserfs_restart_transaction(th, jbegin_count) ;
 	  reiserfs_update_inode_transaction(p_s_inode) ;
 	}
     } while ( n_file_size > ROUND_UP (n_new_file_size) &&
include/linux/reiserfs_fs.h +1 -1
@@ -1806,7 +1806,7 @@
 int push_journal_writer(char *w) ;
 int pop_journal_writer(int windex) ;
 int journal_transaction_should_end(struct reiserfs_transaction_handle *, int) ;
-int reiserfs_restart_transaction(struct reiserfs_transaction_handle *) ;
+int reiserfs_restart_transaction(struct reiserfs_transaction_handle *, int) ;
 int reiserfs_in_journal(struct super_block *p_s_sb, kdev_t dev, int bmap_nr, int bit_nr, int size, int searchall, unsigned int *next) ;
 int journal_begin(struct reiserfs_transaction_handle *, struct super_block *p_s_sb, unsigned long) ;
 
#11 lore raw
In reply to Chris Mason

On 13 Nov 2002 15:23:21 -0500
Chris Mason <[email protected]> wrote:

  |  > 
  |  > BTW, should i apply the patch posted on LKML ?
  |  > Subject:2.[45] fixes for design locking bug in wait_on_page/wait_on_buffer/get_request_wait
  |  
  |  No, wait for that fix to get into a kernel before using it.  There might
  |  still be small modifications, and andrea might find a few other places
  |  in the kernel with similar races.
  |  
  |  The bug results in io stalls, and the machines that do see them stall
  |  for between 10 minutes and an hour.  If you needed the patch you would
  |  have already been complaining ;-) 

Well, now that you mention this, i may also have it on my bug squash list :o) When we feed some files to a MySQL server ( 4 way box, lots of threads), sometimes the box does nothing , pretty much like andrea described it , so it may be that.

| The races do not cause corruptions or crashes of any kind.

Right no corruption, just mysql sitting there doing nothing. Ok then i'll wait for the next version.
|

  |  > 
  |  > Let me know what are you plans.
  |  
  |  Jan and I will get an updated quota patch asap,

This is just great :o) Do you have a rough idea when it will be available ? couple days ? couple weeks ?

  |  and I'll have my
  |  attempted fix for the transaction overflow ready for you against that
  |  set of patches in a few hours.

I already got your fixed and but it on 4 or 5 production boxes that triggered the bug.

So far,it's been running fine :o) but without quotas ;o))

Thanks much

Philippe

#12 lore raw
Quoted 15 lines · Philippe Gramoullé

On 13 Nov 2002 15:23:21 -0500
Chris Mason <[email protected]> wrote:

  |  > 
  |  > BTW, should i apply the patch posted on LKML ?
  |  > Subject:2.[45] fixes for design locking bug in wait_on_page/wait_on_buffer/get_request_wait
  |  
  |  No, wait for that fix to get into a kernel before using it.  There might
  |  still be small modifications, and andrea might find a few other places
  |  in the kernel with similar races.
  |  
  |  The bug results in io stalls, and the machines that do see them stall
  |  for between 10 minutes and an hour.  If you needed the patch you would
  |  have already been complaining ;-) 
Quoted 3 lines

Well, now that you mention this, i may also have it on my bug squash list :o) When we feed some files to a MySQL server ( 4 way box, lots of threads), sometimes the box does nothing , pretty much like andrea described it , so it may be that.

Ok, that does sound like the stalling bug, especially since you've got 4 cpus. You can make it much less likely to trigger by lowering the threshold for where bdflush jumps in, but andrea's final patch should show up shortly.

Quoted 5 lines

|
| Jan and I will get an updated quota patch asap,

This is just great :o) Do you have a rough idea when it will be available ? couple days ? couple weeks ?

Now that I've looked at it, I think the only reject is that parisc-32 already has one hunk applied, and x86-64 needs to have quotav2 support added. Neither one affects i386, but I'll do some tests here. Jan, am I missing something?

Quoted 9 lines

  |  and I'll have my
  |  attempted fix for the transaction overflow ready for you against that
  |  set of patches in a few hours.

I already got your fixed and but it on 4 or 5 production boxes that triggered the bug.

So far,it's been running fine :o) but without quotas ;o))

Ok, it survived heavier load here overnight.

-chris

#13 lore raw

On 14 Nov 2002 11:32:51 -0500
Chris Mason <[email protected]> wrote:

  |  > Well, now that you mention this, i may also have it on my bug squash list :o)
  |  > When we feed some files to a MySQL server ( 4 way box, lots of threads), sometimes the
  |  > box does nothing , pretty much like andrea described it , so it may be that.
  |  
  |  Ok, that does sound like the stalling bug, especially since you've got 4
  |  cpus.

That's what i thought too as it doesn't show up as much on other smaller boxes.

| You can make it much less likely to trigger by lowering the
| threshold for where bdflush jumps in,

Ok.

| but andrea's final patch should show up shortly.

Excellent.

  |  
  |  >   |  
  |  >   |  Jan and I will get an updated quota patch asap,
  |  > 
  |  > This is just great :o) Do you have a rough idea when it will be
  |  > available ? couple days ? couple weeks ?
  |  
  |  Now that I've looked at it, I think the only reject is that parisc-32
  |  already has one hunk applied, and x86-64 needs to have quotav2 support
  |  added.  Neither one affects i386, but I'll do some tests here.  Jan, am
  |  I missing something?

There was indeed some rejects in parisc-32 but there were lot more than that. Rejects were when applying reiserfs-quota-22.diff.
(using vanilla 2.4.20rc1 + ftp.suse.com:/pub/people/mason/patches/reiserfs/quota-2.4/2.4.19 quota patches)

  |  > 
  |  > So far,it's been running fine :o) but without quotas ;o))
  |  
  |  Ok, it survived heavier load here overnight.

Excellent, moreover that i'm on duty call this week ;o)

  |  
  |  -chris
  |  

Thanks much for your help.

Philippe.

#14 lore raw
Quoted 9 lines · Philippe Gramoullé
  |  Now that I've looked at it, I think the only reject is that parisc-32
  |  already has one hunk applied, and x86-64 needs to have quotav2 support
  |  added.  Neither one affects i386, but I'll do some tests here.  Jan, am
  |  I missing something?

There was indeed some rejects in parisc-32 but there were lot more than that. Rejects were when applying reiserfs-quota-22.diff.
(using vanilla 2.4.20rc1 + ftp.suse.com:/pub/people/mason/patches/reiserfs/quota-2.4/2.4.19 quota patches)

Those are conflicts between the reiserfs quota and the data logging. But, I already have data-logging quota patches, so I'm only really worried about Jan's base quota patch.

-chris

#8 lore raw

Data-Logging Progess?! (was: Oops with in nfsd - 2.4.19-pre6)

In reply to Chris Mason
Quoted 19 lines · Chris Mason
Quoted 4 lines · Chris Mason
Quoted 2 lines

Being unable to run the quota anyway with 2.4.19-pre6,as it would make the filer crash, i upgraded to 2.4.20rc1 + data-logging patches and mounted the fs witn noatime,nodiratime and data=journal

Ok, I'll make a patch against that.

Ok, I'm sending a beta of the patch, it has been through light testing. I'm going to run extended tests overnight (in data=journal mode for Philippe), but I wanted to give Philippe the chance to use this on his
own non-critical machines as well.

The patch is fairly simple, but the code involved can be very subtle to I'm trying to be as cautious as possible.

This is against 2.4.20-rc1 + the data logging code. It should fix possible transaction overflows in the journal by pre-reserving space in the transaction during unbounded operations (truncate and hole creation).

Quoted 7 lines

It also shows that I owe namesys 1 beer, because it makes hole creation a whole lot faster (I've been blaming the balancing code for poor hole creation speed).

-chris

[possible-transaction-overflow-fix.diff]

Hi!

Are there any news regarding the data-logging code? Issues that justify the "experimental" status (e.g. root-fs mounting only with rootflags=data=...) or are there new fixes?!

Originally I wondered why the patch you, Chris, sent to the list isn't on your ftp servers directory for kernel 2.4.20 until now.

My late questions regarding this patch:
Does this patch make sense for people _not_ using
a) nfs
b) quota
c) data=journal
at all ?!

I applied this patch to 2.4.20-rc[1,3] since you posted it and it works well for me. I only use the data=ordered mode and nothing of [a,b,c].

Thanks,

Manuel.

#9 lore raw

Re: Data-Logging Progess?! (was: Oops with in nfsd - 2.4.19-pre6)

Hi Manuel,

We've been using the journal overflow patch sent by Chris since Nov 14th, on a busy file server and up to this weekend it proved to solve our problems.

But this weekend we experienced 2 crashes on this server so there still might be some problems to be fixed. I guess that this justifies the "experimental" status of this patch.

In our case , we use :

a) NFS
b) quotas ( as soon as a patch will be ready for this kernel version )
c) data=journal

Thanks,

Philippe

On Wed, 27 Nov 2002 21:54:14 +0100
Manuel Krause <[email protected]> wrote:

  |  Hi!
  |  
  |   Are there any news regarding the data-logging code? Issues that justify 
  |   the "experimental" status (e.g. root-fs mounting only with 
  |   rootflags=data=...) or are there new fixes?!
  |  
  |   Originally I wondered why the patch you, Chris, sent to the list isn't 
  |   on your ftp servers directory for kernel 2.4.20 until now.
  |  
  |   My late questions regarding this patch:
  |   Does this patch make sense for people _not_ using
  |   a) nfs
  |   b) quota
  |   c) data=journal
  |   at all ?!
  |  
  |   I applied this patch to 2.4.20-rc[1,3] since you posted it and it works 
  |   well for me. I only use the data=ordered mode and nothing of [a,b,c].
  |  
  |  
  |   Thanks,
  |  
  |   Manuel.
#10 lore raw

Re: Data-Logging Progess?! (was: Oops with in nfsd - 2.4.19-pre6)

Quoted 11 lines · Philippe Gramoullé

Hi Manuel,

We've been using the journal overflow patch sent by Chris since Nov 14th, on a busy file server and up to this weekend it proved to solve our problems.

But this weekend we experienced 2 crashes on this server so there still might be some problems to be fixed. I guess that this justifies the "experimental" status of this patch.

In our case , we use :

Quoted 8 lines

a) NFS
b) quotas ( as soon as a patch will be ready for this kernel version )
c) data=journal

Thanks,

Philippe

Hi Philippe,

Thank you for your reply.

Did you try other kernels than 2.4.20-rc1? Maybe -rc3?

I remember having had some random ugly stalls while deleting via KDE2.2.2 Konqueror with -rc1 that seem to have disappered with -rc3.

IIRC I once recreated my local kernel sources via a shell script (simple file copy from another disk), patched them wrongly and then stalled while deleting the mess via Konqueror. Everything was working except for this "Delete files" window. After rebooting the delete worked.

I don't know if exactly this was related to some possible race conditions Chris mentioned in one of his previous mails.

Thanks,

Manuel.