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


ru.linux

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