public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* A new ide warning message
@ 2002-08-02 11:34 Stephen Lord
  2002-08-02 11:38 ` Marcin Dalecki
  2002-08-02 11:47 ` Jens Axboe
  0 siblings, 2 replies; 21+ messages in thread
From: Stephen Lord @ 2002-08-02 11:34 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Marcin Dalecki


In 2.5.30 I started getting these warning messages out ide during
the mount of an XFS filesystem:

ide-dma: received 1 phys segments, build 2

Can anyone translate that into English please.

Thanks,

Steve



^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: A new ide warning message
@ 2002-08-03  3:28 Adam J. Richter
  0 siblings, 0 replies; 21+ messages in thread
From: Adam J. Richter @ 2002-08-03  3:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, axboe, B.Zolnierkiewicz, martin

>On Fri, Aug 02 2002, Bartlomiej Zolnierkiewicz wrote:
>This case also shows limits of BIO_MAX_SECTORS again (Adam worked on
>generic solution, but I don't know current state).

	In case this information is helpful to anyone, here is
the current status of three different variants of it.

	1. bio_max_iovecs() version - This just replaced BIO_MAX_SECTORS.
It was simple.  It worked, but everyone got more ambitious about making
more sweeping changes.  Jens wanted a boolean one_more_bvec(bio, bvec)
interface.  I made a void bio_append(bio, bvec) interface that would submit
bio that could not hold another bvec and always succeed.  I beleve that
the bio_max_iovecs should have gone in while we worked on other changes
and I still believe that they should go in in the meantime.  People's
systems are crashing while we argue about more ambitious solutions.
I do not have a patch against 2.5.30 handy, but I would be happy to
generate a patch for this again if there is interest in getting it
into Linus's tree while we await future changes that might replace
this code.

	2. bio_append + mpage.c changes - This changed mpage.c to be
able to handle all IO requests that are thrown at it (i.e., it never
punts to fs/buffer.c) .  However, since 2.5.27(?) it corrupts the
disk on an ext2 file system with a 1024-byte block size (I have only
tried it on ext2 file systems and with block sizes of 1024 or 4096 bytes).

	3. bio_append + mpage.c changes + fs/buffer.c shrink - Same as
above, but had fs/mpage.c routines replace the fs/buffer.c routines
entirely, deleting a bunch of buffer_head oriented code from fs/buffer.c.
These changes corrupt the disk when the device is opened with a block
size of 1024 (as opposed ot 4096).  This is probably related to the
bug described in the previous paragraph.

	#2 and #3 are closely related.  Perhaps I will stare at
the code for #2 some more and try to find that @#$Q@#$ bug.

Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."
`e

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: A new ide warning message
@ 2002-08-03  3:32 Adam J. Richter
  0 siblings, 0 replies; 21+ messages in thread
From: Adam J. Richter @ 2002-08-03  3:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe, B.Zolnierkiewicz, martin

Bartlomiej Zolnierkiewicz wrote:
>Look again Jens. Adam's changes made IDE queue handling inconsistent.
>hint: 2 * 127 != 255

	I've discussed this with Bartlomiej by email now and we've
determined that we he was referring to was not a bug after all.

Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2002-08-06 12:49 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-02 11:34 A new ide warning message Stephen Lord
2002-08-02 11:38 ` Marcin Dalecki
2002-08-02 11:53   ` Jens Axboe
2002-08-02 11:59     ` Jens Axboe
2002-08-02 13:47       ` Bartlomiej Zolnierkiewicz
2002-08-02 14:20         ` Jens Axboe
2002-08-02 16:01           ` Bartlomiej Zolnierkiewicz
2002-08-02 16:11             ` Jens Axboe
2002-08-03 18:41         ` Marcin Dalecki
2002-08-02 11:47 ` Jens Axboe
2002-08-02 11:48   ` Marcin Dalecki
2002-08-02 11:55     ` Jens Axboe
2002-08-02 12:05     ` Stephen Lord
2002-08-02 12:12       ` Marcin Dalecki
2002-08-02 12:30         ` Jens Axboe
2002-08-02 12:31           ` Marcin Dalecki
2002-08-02 12:41             ` Jens Axboe
2002-08-02 13:50               ` Steve Lord
2002-08-02 18:34                 ` Bartlomiej Zolnierkiewicz
  -- strict thread matches above, loose matches on Subject: below --
2002-08-03  3:28 Adam J. Richter
2002-08-03  3:32 Adam J. Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox