All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ric Wheeler <rwheeler@redhat.com>
To: Eric Anopolsky <erpo41@gmail.com>
Cc: Theodore Tso <tytso@mit.edu>, postrishi <postrishi@gmail.com>,
	linux-ext4@vger.kernel.org
Subject: Re: Porting Zfs features to ext2/3
Date: Tue, 29 Jul 2008 12:46:29 -0400	[thread overview]
Message-ID: <488F4965.6080801@redhat.com> (raw)
In-Reply-To: <1217303912.7887.20.camel@telesto>

Eric Anopolsky wrote:
> Please let me know if I'm getting off topic for the ext4-devel list. My
> point is not to advocate ZFS over ext3/4 since ZFS still has its share
> of issues. No resizing raidz vdevs, for example, and performance in
> certain areas. My only point is to make it clear that ZFS on Linux is
> available (and not necessarily a bad choice) to people reading the
> ext4-devel mailing list looking for ZFS-like features like the original
> poster.
>
> On Mon, 2008-07-28 at 08:40 -0400, Theodore Tso wrote:
>   
>> On Sun, Jul 27, 2008 at 10:15:59PM -0600, Eric Anopolsky wrote:
>>     
>>> It's true that ZFS on FUSE performance isn't all it could be right now.
>>> However, ZFS on FUSE is currently not taking advantage of mechanisms
>>> FUSE provides to improve performance. For an example of what can be
>>> achieved, check out http://www.ntfs-3g.org/performance.html .
>>>       
>> Yes... and take a look at the metadata operations numbers.  FUSE can
>> do things to accellerate bulk read/write, but metadata-intensive
>> operations will (I suspect) always be slow.  
>>     
>
> It doesn't seem too much worse than the other non-ext3 filesystems in
> the comparison. I'm sure everyone would prefer a non-FUSE implementation
> and the licensing issues aren't going to go away, but this post on Jeff
> Bonwick's blog gives some hope:
> http://blogs.sun.com/bonwick/entry/casablanca . Even so, not everyone
> needs a whole lot of speed in the metadata operations area. 
>
>   
>> I also question whether
>> the FUSE implementation will have the safety that has always been the
>> Raison d'être of ZFS.  Have you or the ZFS/FUSE developers done tests
>> where you are writing to the filesystem, and then someone pulls the
>> plug on the fileserver while ZFS is writing?  Does the filesystem
>> recovery cleanly from such a scenario?
>>     
>
> I haven't personally tried pulling the plug, but I've tried holding down
> the power button on my laptop until it powers off. Everything works fine
> and scrubs (the closest ZFS gets to fsck) don't report any checksum
> errors. The filesystem driver updates the on-disk filesystem atomically
> every five seconds (less time in special circumstances) so there's never
> any point at which the filesystem would need recovery. The next time the
> filesystem is mounted the system sees the state the filesystem was in up
> to five seconds before the power went out. The FUSEness of the
> filesystem driver doesn't seem to affect this.
>
> Cheers,
> Eric
>   
Does that mean you always lose the last 5 seconds of data before the 
power outage?

We had an earlier thread where Chris had a good test for making a case 
for the write barrier code being enabled by default. It would be neat to 
try that on ZFS ;-) The expected behaviour should be that any fsync()'ed 
files should be there (regardless of the 5 seconds) and other 
non-fsync'ed files might or might not be there, but that all file system 
integrity is complete.

It would also be very interesting to try and do a drive hot pull.

Thanks!

Ric


--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-07-29 16:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-27  8:49 Porting Zfs features to ext2/3 postrishi
2008-07-27 22:49 ` Theodore Tso
2008-07-27 22:49   ` Shehjar Tikoo
2008-07-27 23:37     ` Theodore Tso
2008-07-28  3:42       ` Shehjar Tikoo
2008-07-27 22:54 ` Eric Anopolsky
2008-07-27 23:38   ` Theodore Tso
2008-07-28  4:15     ` Eric Anopolsky
2008-07-28 12:40       ` Theodore Tso
2008-07-29  3:58         ` Eric Anopolsky
2008-07-29 16:46           ` Ric Wheeler [this message]
2008-07-30  6:00             ` Eric Anopolsky
2008-07-29 21:00         ` Szabolcs Szakacsits
2008-07-29 22:52     ` Szabolcs Szakacsits
2008-07-30  1:29       ` Theodore Tso
2008-08-07 12:09         ` Goswin von Brederlow
2008-07-30  1:34       ` Theodore Tso
2008-07-31  0:50         ` Szabolcs Szakacsits
2008-08-04 20:38           ` Szabolcs Szakacsits
2008-08-07 12:01     ` Goswin von Brederlow

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=488F4965.6080801@redhat.com \
    --to=rwheeler@redhat.com \
    --cc=erpo41@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=postrishi@gmail.com \
    --cc=tytso@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.