Re: [PATCH 6/6] Btrfs: do aio_write instead of write

2010-06-01 Thread Dmitri Nikulin
. If we find an ordered extent we drop the lock and wait for that IO to finish, then loop again. Ok, that's fair enough. Maybe it's worth commenting, I'm sure I'm not the only one surprised. Thanks, -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia

Re: [PATCH 6/6] Btrfs: do aio_write instead of write

2010-05-30 Thread Dmitri Nikulin
; +               unlock_extent(tree, start, end, GFP_NOFS); Is it ok not to unlock_extent if !ordered? I don't know if you fixed this in a later version but it stuck out to me :) -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send

Re: Data Deduplication with the help of an online filesystem check

2009-05-04 Thread Dmitri Nikulin
. The least you could do is adaptively switch to a more efficient data structure if you see the number of blocks is low enough. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: kernel bug in file-item.c

2009-04-30 Thread Dmitri Nikulin
a memtest86 bug. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: kernel bug in file-item.c

2009-04-30 Thread Dmitri Nikulin
blocks in them, etc. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: Data Deduplication with the help of an online filesystem check

2009-04-28 Thread Dmitri Nikulin
the raw data itself, at which point you may as well have just been using healing RAID1 without checksums. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: LVM vs btrfs as a volume manager for SANs

2009-04-22 Thread Dmitri Nikulin
applies to such a setting. It certainly does for ZFS, making it an excellent backend for iSCSI. At least, having it on btrfs shouldn't make it any less reliable than on LVM, as long as btrfs does its job correctly. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800

Re: Btrfs development plans

2009-04-21 Thread Dmitri Nikulin
into Linux. That's a big ask, but now that ZFS' IP has been imported into Oracle, perhaps a lot of patent and copyright issues can be smoothed over, giving btrfs a huge advantage relative to what it had before the acquisition. -- Dmitri Nikulin Centre for Synchrotron Science Monash University

Re: interesting use case for multiple devices and delayed raid?

2009-04-01 Thread Dmitri Nikulin
no software changes, would be to have 3 or 4 disks. A stripe for really fast reads and writes, and another disk (or another stripe) to act as a slave to the data being written to the primary stripe. This seems to do what you want, at a small price premium. -- Dmitri Nikulin Centre for Synchrotron

Re: interesting use case for multiple devices and delayed raid?

2009-04-01 Thread Dmitri Nikulin
if my original description was unclear.  Hopefully it is more so now. Yes. It'll be up to the actual filesystem devs to weigh in on whether it's worth implementing. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send

Re: metadata copied/data not copied?

2009-03-16 Thread Dmitri Nikulin
that would work. It is possible for a file system to detect identical blocks between files, but without more guidance, it would be very expensive to do so, and with questionable benefits. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia

Re: metadata copied/data not copied?

2009-03-16 Thread Dmitri Nikulin
On Tue, Mar 17, 2009 at 8:14 AM, Dmitri Nikulin dniku...@gmail.com wrote: Otherwise you could soft link /bin/sh into your home directly, setuid the link, and own the machine. Sorry, that was a terrible example, only root can setuid anyway. A better example is linking to /bin/sh and making your

Re: questions about GRUB and BTRFS

2009-02-24 Thread Dmitri Nikulin
with COW, checksums and snapshotting :) Especially if btrfs is intended to be the next default Linux filesystem as quoted in many places, it will need /boot support in some form. I'll personally keep an ext3 /boot for a long time just because recovery is easier that way. -- Dmitri Nikulin Centre

Re: ssd optimised mode

2009-02-23 Thread Dmitri Nikulin
On Tue, Feb 24, 2009 at 3:10 PM, Martin K. Petersen martin.peter...@oracle.com wrote: Dmitri == Dmitri Nikulin dniku...@gmail.com writes: Dmitri If that's the case, why is it marketed for Windows Vista only, Dmitri and referring to filesystem features like marking unused blocks? Dmitri Surely

Re: ssd optimised mode

2009-02-22 Thread Dmitri Nikulin
. Well that's my point, it should provide atomicity, but is this the case for consumer SSDs? It is certainly NOT the case for cheap USB-based flash media and AFAIK not for CF either. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe

Re: ssd optimised mode

2009-02-22 Thread Dmitri Nikulin
distinct class of storage (rotating, bad SSD, good SSD, USB flash, holographic cube, electron spin, etc.). -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: ssd optimised mode

2009-02-21 Thread Dmitri Nikulin
to be erased before it can be updated, clearly not an atomic operation. Is there any solution to this that doesn't depend on a battery backup? Clearly it's not something a filesystem can practically solve. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia

Re: btrfs and swap files on SSD's ?

2009-01-20 Thread Dmitri Nikulin
, it would certainly be very useful to be able to run swap on it, since that frees up other volumes from an administrative standpoint. -- Dmitri Nikulin Centre for Synchrotron Science Monash University Victoria 3800, Australia -- To unsubscribe from this list: send the line unsubscribe linux-btrfs