The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Subject: [TUHS] RFS was: Re: UNIX of choice these days?
Date: Thu, 28 Sep 2017 08:53:54 -0400 (EDT)	[thread overview]
Message-ID: <20170928125354.CE4E318C088@mercury.lcs.mit.edu> (raw)

    > From: Theodore Ts'o

    > when a file was truncated and then rewritten, and "truncate this file"
    > packet got reordered and got received after the "here's the new 4k of
    > contents of the file", Hilar[i]ty Enused.

This sounds _exactly_ like a bad bug found in the RVD protocol (Remote Virtual
Disk - a simple block device emulator). Disks kept suffering bit rot (damage
to the inodes, IIRC). After much suffering, and pain trying to debug it (lots
of disk writes, how do you figure out the one that's the problem), it was
finally found (IIRC, it wasn't something thinking about it, they actually
caught it). Turned out (I'm pretty sure my memory of the bug is correct), if
you had two writes of the same block in quick sucession, and the second was
lost, if the first one's ack was delayed Just Enough...

They had an unused 'hint' (I think) field in the protocol, and so they
recycled that to be a sequence number, so they could tell ack's apart.

      Noel



             reply	other threads:[~2017-09-28 12:53 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-28 12:53 Noel Chiappa [this message]
2017-09-28 14:09 ` Theodore Ts'o
2017-09-28 14:35   ` Clem Cole
     [not found] <mailman.1219.1506559196.3779.tuhs@minnie.tuhs.org>
2017-09-28 14:08 ` David
2017-09-28 17:22   ` Pete Wright
  -- strict thread matches above, loose matches on Subject: below --
2017-09-20  0:12 [TUHS] " Arthur Krewat
2017-09-20  0:39 ` Dave Horsfall
2017-09-23  9:17   ` Dario Niedermann
2017-09-23  9:36     ` Steve Mynott
2017-09-24 13:46       ` Andy Kosela
2017-09-24 14:02         ` ron minnich
2017-09-24 17:33           ` Clem Cole
2017-09-24 17:51             ` [TUHS] RFS was: " Arthur Krewat
2017-09-24 19:54               ` Clem Cole
2017-09-24 21:59                 ` Arthur Krewat
2017-09-24 22:08                 ` Arthur Krewat
2017-09-24 23:52                   ` Clem Cole
2017-09-27  8:44                 ` arnold
2017-09-27 15:25                   ` Arthur Krewat
2017-09-27 15:49                     ` arnold
2017-09-27 17:38                   ` Mantas Mikulėnas
2017-09-27 23:01                   ` Kevin Bowling
2017-09-27 23:11                     ` Clem Cole
2017-09-27 23:13                       ` Kevin Bowling
2017-09-28  0:39                         ` Larry McVoy
2017-09-28  3:19                           ` Theodore Ts'o
2017-09-28 13:45                             ` Larry McVoy
2017-09-28 17:12                               ` Steve Johnson
2017-09-28  0:54                         ` Dave Horsfall
2017-09-28  0:59                           ` William Pechter
2017-09-28 13:49                         ` arnold
2017-09-28 14:07                           ` Larry McVoy
2017-09-28 14:28                             ` arnold
2017-09-28 19:49                               ` Larry McVoy
2017-09-28 20:00                             ` Bakul Shah
2017-09-28 14:27                           ` Clem Cole
2017-09-28 22:08                             ` Dave Horsfall
2017-09-28 22:20                               ` Larry McVoy
2017-09-29  2:23                                 ` Kevin Bowling
2017-09-29  8:59                                 ` Andreas Kusalananda Kähäri
2017-09-29 14:20                                   ` Clem Cole
2017-09-29 16:46                                   ` Grant Taylor
2017-09-29 17:02                                     ` Kurt H Maier
2017-09-29 17:27                                       ` Pete Wright
2017-09-29 18:11                                       ` Grant Taylor
2017-09-29 18:47                                     ` Andreas Kusalananda Kähäri
2017-09-29 15:22                                 ` George Ross
2017-09-29 18:40                                   ` Don Hopkins
2017-09-29 19:03                                     ` Larry McVoy
2017-09-29 21:24                                     ` Arthur Krewat
2017-09-29 22:11                                       ` Don Hopkins
2017-09-29 22:21                                         ` Don Hopkins
2017-09-29 19:19                                 ` Dan Cross
2017-09-29 19:22                                   ` Larry McVoy
2017-09-29 20:52                                   ` Jon Forrest

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170928125354.CE4E318C088@mercury.lcs.mit.edu \
    --to=jnc@mercury.lcs.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).