Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Alex Tomas                           2:5020/400     19 Nov 2002  23:54:55
 To : Oleg Drokin
 Subject : Re: Вопрос по ядрам от
 -------------------------------------------------------------------------------- 
 
 >>>>> Oleg Drokin (OD) writes:
 
  OD> Hесомненно. Вот то что мне сразу в глаза бросилось, например.
 
  OD> ChangeSet@1.676.8.3, 2002-09-30 17:36:40-03:00, sct@redhat.com
  OD> [PATCH] Fix the order of inodes being marked dirty in a couple of
  OD> corner cases
   
  OD>   The only impact of this bug is that the on-disk copies of
  OD> i_version might got out of sync for a directory, or that an error
  OD> inserting an inode into a directory might leave its i_nlinks or
  OD> i_ctime incorrect on disk for a short interval.  Neither problem
  OD> will cause trouble for ext3 during normal operation, but the
  OD> nlink problem might cause e2fsck to emit unnecessary warnings if
  OD> we crash while the incorrect version of the inode is in the
  OD> journal.
 
 это серьезная проблема?!
 
  OD> ChangeSet@1.676.7.3, 2002-09-27 23:49:35-03:00, sct@redhat.com
  OD> [PATCH] 2.4.20-pre4/ext3: Fix LVM snapshot deadlock
   
  OD>   Fix LVM snapshot deadlock: it is a bad idea to try to flush all
  OD> running transactions while we already hold the superblock lock.
  OD> Drop the sb lock while we flush.
   
  OD>   This only affects kernels that have the extra LVM VFS locking
  OD> added in for filesystem quiescing on snapshots.
 
 часто делаешь snapshot'ы? вообще lvm пользуешь?
 
  OD> ChangeSet@1.587.2.20, 2002-08-28 18:11:04-03:00, sct@redhat.com
  OD> [PATCH] 2.4.20-pre4/ext3: Fix truncate restart error
   
  OD>   Fix for a rare problem seen under stress in data=journal mode:
  OD> if we have to restart a truncate transaction while traversing the
  OD> inode's direct blocks, we need to deal with bh==NULL in
  OD> ext3_clear_blocks.
 
 спроси у Криса, часто truncate не влазит в одну транзакцию?
 
  OD> ChangeSet@1.587.2.18, 2002-08-28 18:10:34-03:00, sct@redhat.com
  OD> [PATCH] 2.4.20-pre4/ext3: Fix out-of-inodes handling
   
  OD>   Don't consider ENOSPC as a fatal error when allocating an
  OD> inode.  Otherwise running out of inodes marks the fs as having an
  OD> error, potentially taking the kernel down if we are in
  OD> panic-on-error fs mode.
 
 более-менее серьезно
 
  OD> ChangeSet@1.587.9.17, 2002-08-26 19:27:35-03:00, sct@redhat.com
  OD> [PATCH] 2.4.20-pre4/ext3: Fix "buffer_jdirty" assert failure.
   
  OD>   There was a race window in buffer refiling where we could
  OD> temporarily expose the journal's internal BH_JBDDirect flag as
  OD> BH_Dirty, which is visible to the rest of the VFS.  That doesn't
  OD> affect the journaling, because we hold journal_head locks while
  OD> the buffer is in this transient state, but bdflush can see the
  OD> buffer and write it out unexpectedly, causing ext3 to find the
  OD> buffer in an unexpected state later.
   
  OD>   The fix simply keeps the dirty bits clear during the internal
  OD> buffer processing, restoring the state to the private
  OD> BH_JBDDirect once refiling is complete.
 
 это тоже серьезно?!
 резко апосля сброса буфера VFS'ой должен произойти crash. часто?
 
  OD> ChangeSet@1.587.9.16, 2002-08-26 19:16:16-03:00, sct@redhat.com
  OD> [PATCH] 2.4.20-pre4/ext3: Handle dirty buffers encountered
   
  OD>   Ext3's internal debugging has always assumed that it was
  OD> illegal for there to be parallel IO on a buffer-head which it is
  OD> trying to modify.  That's reasonable --- if there is an IO
  OD> collision, we end up with IOs hitting disk out-of-order wrt the
  OD> journal, so we lose recovery guarantees.
   
  OD>   However, there are two cases where the test is a little
  OD> over-zealous.  If user space is performing inherently
  OD> non-transactional writes (eg. tune2fs adding a label to a live
  OD> filesystem and writing to the buffered device superblock
  OD> location) then we can hit the ext3 assertion.
   
  OD>   More seriously, since 2.4.11 the page cache can lock a
  OD> buffer_head for read even if the bh is already under journal
  OD> control.  The tune2fs bug is very rare: there have been no
  OD> reports of it in Bugzilla or ext3-users lists, and only one on
  OD> 2.5 on linux-kernel.  But now, a dump(8) on a live filesystem can
  OD> also give rise to the same condition, and in testing, dump + fs
  OD> activity reproduces the assertion-failure VERY rapidly.
   
  OD>   This patch changes the jbd get-write-access code to take the
  OD> buffer_head lock before testing the uptodate and dirty state of a
  OD> bh, and relaxes the handling of unexpectedly-dirty buffers to be
  OD> a printk warning, not a fatal error.  The lock will cure the
  OD> dump(8) interaction, and the warning means that we will still
  OD> spot out-of-order writes, while not taking the whole kernel down
  OD> if we collide with a tune2fs(8).
   
  OD>   The patch also removes a small potential hole in the recovery
  OD> guarantees.  It is not safe for a transaction to steal buffers
  OD> from checkpoint mode until afte r that transaction has committed.
  OD> Otherwise, a reboot at the wrong moment might find the old copy
  OD> of the buffer in the journal had been removed from the recovery
  OD> set before the new copy was written.
 
 очень часто пользуешь dump/tune2fs?
 то есть я, конечно, согласен, что все это баги. однако уж точно это не
 повод откатываться на ext2 или перелазить на что-то иное. почти все баги
 имеют отношение к журналу. ext2, в свою очередь, в случае crash может
 дать куда более худшие результаты
 
 -- 
 пора
 --- ifmail v.2.15dev5
  * Origin: HOME (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Вопрос по ядрам от RH   Alexandr S. Agranovsky   09 Nov 2002 11:21:59 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   09 Nov 2002 11:54:53 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   09 Nov 2002 12:16:11 
 Re: Re: RH kernel question   Aleksey Barabanov   09 Nov 2002 14:26:03 
 Re: Re: Re: RH kernel question   Alexandr S. Agranovsky   09 Nov 2002 15:10:30 
 Re: Re: Re: RH kernel question   Aleksey Barabanov   09 Nov 2002 17:38:18 
 Re: Вопрос по ядрам от RH   San ЂH„ђ……‚   09 Nov 2002 14:56:21 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   09 Nov 2002 15:18:11 
 Re: Вопрос по ядрам от RH   Alex Korchmar   09 Nov 2002 19:40:36 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   09 Nov 2002 20:41:56 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 00:49:42 
 Re: Вопрос по ядрам от RH   Alex Korchmar   10 Nov 2002 19:55:41 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 20:29:20 
 Re: Вопрос по ядрам от RH   Alex Korchmar   10 Nov 2002 21:08:27 
 Re: Вопрос по ядрам от RH   Alex Korchmar   10 Nov 2002 19:54:10 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 20:29:20 
 Re: Вопрос по ядрам от RH   Alex Korchmar   10 Nov 2002 22:07:44 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 23:04:19 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   10 Nov 2002 21:51:26 
 Re: Вопрос по ядрам от RH   Alex Korchmar   10 Nov 2002 22:06:39 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   11 Nov 2002 00:13:53 
 Вопрос по ядрам от RH   Alex Tabounkine   12 Nov 2002 23:23:51 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 22:59:42 
 Re: Вопрос по ядрам от RH   Victor Wagner   10 Nov 2002 23:45:53 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   11 Nov 2002 00:05:18 
 Re: Вопрос по ядрам от RH   Victor Wagner   11 Nov 2002 01:22:34 
 Re: Вопрос по ядрам от RH   Alex Korchmar   11 Nov 2002 01:36:44 
 Re: Вопрос по ядрам от RH   Victor Wagner   11 Nov 2002 01:49:27 
 Re: Вопрос по ядрам от RH   Alex Korchmar   12 Nov 2002 05:24:40 
 Re: Вопрос по ядрам от RH   Victor Wagner   12 Nov 2002 10:48:16 
 Re: Вопрос по ядрам от RH   Alex Korchmar   12 Nov 2002 21:16:51 
 Re: Вопрос по ядрам от RH   Victor Wagner   12 Nov 2002 22:17:09 
 Re: Вопрос по ядрам от RH   Alex Korchmar   13 Nov 2002 00:26:58 
 Re: Вопрос по ядрам от RH   Artem Chuprina   13 Nov 2002 04:49:11 
 Re: Вопрос по ядрам от RH   Anton Kovalenko   13 Nov 2002 01:05:51 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   13 Nov 2002 02:10:48 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   12 Nov 2002 14:33:43 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   11 Nov 2002 00:13:55 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   11 Nov 2002 00:44:33 
 Re: Вопрос по ядрам от RH   Eduard Phetisov   15 Nov 2002 11:51:57 
 Re: Вопрос по ядрам от RH   Alex Tomas   16 Nov 2002 17:57:06 
 Re: Вопpос по ядpам от RH   Dmitry Melekhov   22 Nov 2002 22:59:09 
 Re: Re: Вопpос по ядpам от RH   Alexandr S. Agranovsky   23 Nov 2002 01:17:50 
 Re: Вопрос по ядрам от RH   Aleksey I Zavilohin   13 Nov 2002 15:27:23 
 Re: Вопрос по ядрам от RH   Oleg Drokin   18 Nov 2002 18:39:12 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   18 Nov 2002 19:35:33 
 Вопрос по ядрам от RH   Andrey Melnikov   18 Nov 2002 20:56:38 
 Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   18 Nov 2002 22:34:51 
 Re: Вопрос по ядрам от RH   Alex Korchmar   19 Nov 2002 02:25:58 
 Re: Вопрос по ядрам от RH   Oleg Drokin   18 Nov 2002 21:21:04 
 Re: Вопрос по ядрам от RH   Stanislav Protassov   18 Nov 2002 22:02:17 
 Re: Re: Вопрос по ядрам от   Alexandr S. Agranovsky   18 Nov 2002 22:34:52 
 Re: Вопрос по ядрам от   Alex Tomas   18 Nov 2002 22:41:34 
 Re: Re: Вопрос по ядрам от   Alexandr S. Agranovsky   19 Nov 2002 00:11:21 
 Re: Вопрос по ядрам от   Oleg Drokin   18 Nov 2002 23:09:50 
 Re: Вопрос по ядрам от   Stanislav Protassov   18 Nov 2002 23:53:08 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 00:02:16 
 Re: Вопрос по ядрам от   Stanislav Protassov   19 Nov 2002 00:25:05 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 00:35:21 
 Re: Вопрос по ядрам от   Stanislav Protassov   19 Nov 2002 15:14:54 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 15:17:27 
 Re: Вопрос по ядрам от   Stanislav Protassov   19 Nov 2002 15:41:42 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 15:42:44 
 Re: Вопрос по ядрам от   Stanislav Protassov   19 Nov 2002 15:46:51 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 15:50:27 
 Re: Вопрос по ядрам от   Stanislav Protassov   19 Nov 2002 17:11:52 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 17:18:53 
 Re: Вопрос по ядрам от   Stanislav Protassov   19 Nov 2002 17:38:17 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 17:41:50 
 Re: Вопрос по ядрам от   Stanislav Protassov   19 Nov 2002 17:46:58 
 Re: Вопрос по ядрам от   Oleg Drokin   19 Nov 2002 22:41:54 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 22:48:00 
 Re: Вопрос по ядрам от   Oleg Drokin   19 Nov 2002 23:41:41 
 Re: Вопрос по ядрам от   Alex Tomas   19 Nov 2002 23:54:55 
 Re: Вопрос по ядрам от   Oleg Drokin   20 Nov 2002 00:06:41 
 Re: Вопрос по ядрам от   Valentin Nechayev   20 Nov 2002 00:59:39 
 Re: Вопрос по ядрам от   Alex Tomas   20 Nov 2002 01:07:49 
 Re: Вопрос по ядрам от   Aleksey I Zavilohin   22 Nov 2002 16:30:14 
 Re: Вопрос по ядрам от RH   Alex Korchmar   19 Nov 2002 01:58:17 
 Re: Вопрос по ядрам от RH   Oleg Drokin   19 Nov 2002 22:44:58 
 Re: Вопрос по ядрам от RH   Alex Korchmar   19 Nov 2002 23:36:17 
 Re: Вопрос по ядрам от RH   Oleg Drokin   19 Nov 2002 23:49:51 
 Re: Вопрос по ядрам от RH   Alex Korchmar   20 Nov 2002 00:25:33 
 Re: Вопрос по ядрам от RH   Oleg Drokin   20 Nov 2002 10:44:28 
 Re: Вопрос по ядрам от RH   Alex Korchmar   20 Nov 2002 19:46:20 
 Re: Вопрос по ядрам от RH   Aleksey I Zavilohin   22 Nov 2002 16:34:25 
 Re: Вопрос по ядрам от RH   Alex Korchmar   19 Nov 2002 01:55:44 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   19 Nov 2002 13:35:24 
 Re: Вопрос по ядрам от RH   Alex Korchmar   19 Nov 2002 02:10:33 
 Re: Вопрос по ядрам от RH   Oleg Drokin   19 Nov 2002 22:59:45 
 Re: Вопрос по ядрам от RH   Alex Korchmar   19 Nov 2002 23:35:34 
 Re: Вопрос по ядрам от RH   Oleg Drokin   19 Nov 2002 23:56:51 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   26 Nov 2002 20:42:17 
 Re: Вопрос по ядрам от RH   Alex Korchmar   26 Nov 2002 21:22:14 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   26 Nov 2002 20:42:16 
 Re: Вопрос по ядрам от RH   Oleg Drokin   27 Nov 2002 00:06:15 
 Re: Вопрос по ядрам от RH   Alex Korchmar   27 Nov 2002 03:52:02 
 Вопрос по ядрам от RH   Serge Petruschenko   29 Nov 2002 18:22:25 
 Re: Вопрос по ядрам от RH   Victor Wagner   30 Nov 2002 02:10:48 
 Re: Вопрос по ядрам от RH   Alex Korchmar   30 Nov 2002 03:50:52 
 Re: Вопрос по ядрам от RH   Vladimir N. Garnick   02 Dec 2002 23:42:20 
 Re: Вопрос по ядрам от RH   Alex Korchmar   30 Nov 2002 03:54:53 
 Re: Вопрос по ядрам от RH   Alex Korchmar   19 Dec 2002 20:30:08 
 Re: Вопрос по ядрам от RH   Oleg Drokin   19 Dec 2002 22:59:46 
 Re: Вопрос по ядрам от RH   Alex Korchmar   20 Dec 2002 00:17:06 
 Re: Вопрос по ядрам от RH   Oleg Drokin   20 Dec 2002 10:39:02 
 Re: Вопpос по ядpам от RH   Dmitry Melekhov   21 Dec 2002 23:34:41 
 Re: Вопpос по ядpам от RH   Oleg Drokin   22 Dec 2002 13:38:13 
 Re: Вопpос по ядpам от RH   Dmitry Melekhov   23 Dec 2002 21:26:46 
 Re: Вопpос по ядpам от RH   Oleg Drokin   24 Dec 2002 00:41:19 
 Re: Вопpос по ядpам от RH   Dmitry Melekhov   24 Dec 2002 21:38:25 
 Re: Вопpос по ядpам от RH   Oleg Drokin   25 Dec 2002 13:03:48 
 Re: Вопpос по ядpам от RH   Ilya Dikarev   26 Dec 2002 10:21:21 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   09 Nov 2002 21:07:48 
 Re: Вопрос по ядрам от RH   Valentin Nechayev   10 Nov 2002 13:43:43 
 Re: Вопрос по ядрам от RH   Aleksey I Zavilohin   10 Nov 2002 15:36:09 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 18:14:40 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 00:44:35 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   10 Nov 2002 12:46:59 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 14:34:32 
 Re: Re: Вопрос по ядрам от RH   Terehov Gennady   14 Nov 2002 18:25:13 
 Re: Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   14 Nov 2002 19:17:46 
 Re: Re: Вопрос по ядрам от RH   Alexandr S. Agranovsky   09 Nov 2002 15:27:21 
 Re: Вопрос по ядрам от RH   Vladimir Bormotov   10 Nov 2002 00:29:49 
 Вопрос по ядрам от RH   Eugeny Balakhonov   10 Nov 2002 02:35:36 
Архивное /ru.linux/7590a496b28f.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional