Re: Btrfs/SSD

2017-05-16 Thread Tomasz Torcz
On Tue, May 16, 2017 at 03:58:41AM +0200, Kai Krakow wrote: > Am Mon, 15 May 2017 22:05:05 +0200 > schrieb Tomasz Torcz <to...@pipebreaker.pl>: > > > > Yes, I considered that, too. And when I tried, there was almost no > > > perceivable performance diff

Re: Btrfs/SSD

2017-05-15 Thread Tomasz Torcz
y 2 years The workload is lightly utilised home server / media center. -- Tomasz TorczOnly gods can safely risk perfection, xmpp: zdzich...@chrome.pl it's a dangerous thing for a man. -- Alia -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" i

Re: raid1: cannot add disk to replace faulty because can only mount fs as read-only.

2017-02-08 Thread Tomasz Torcz
1 when I got another disk. The issue you've stumbled across is only > partial motivation for this, the bigger motivation is that running half a 2 > disk array is more risky than running a single disk by itself. Again, why? What's the difference? What causes increased risk?

Re: linux 4.7.2 & btrfs & rsync & OOM gone crazy

2016-08-26 Thread Tomasz Torcz
e OOM is now going crazy and trying to kill whatever it > can including my ssh and rsync process. Anyone seen anything similar? That's probably OOM regression in 4.7. Could you please test this patch: https://lkml.org/lkml/2016/8/23/145 -- Tomasz Torcz ,,If you try to upissue

Re: Issue: errno:28 (No space left on device)

2016-08-09 Thread Tomasz Torcz
On Tue, Aug 09, 2016 at 01:50:04PM +0200, Thomas wrote: > Hello! > > I'm facing a severe issue with Debian installation using BTRFS: > errno:28 (No space left on device) Sending this message 3x won't make it more important. -- Tomasz Torcz ,,(...) today's high-end i

Re: [PATCH] btrfs-progs: add option to run balance as daemon

2016-07-11 Thread Tomasz Torcz
On Mon, Jul 11, 2016 at 07:17:28AM -0400, Austin S. Hemmelgarn wrote: > On 2016-07-11 03:26, Tomasz Torcz wrote: > > On Tue, Jun 21, 2016 at 11:16:59AM -0400, Austin S. Hemmelgarn wrote: > > > Currently, balance operations are run synchronously in the foreground. > > > T

Re: [PATCH] btrfs-progs: add option to run balance as daemon

2016-07-11 Thread Tomasz Torcz
n be done with simplest systemd unit file: btrfs-balance@.service: --- [Unit] Description=btrfs balance for %I [Service] ExecStart=/usr/bin/btrfs balance start %I ExecStop=/usr/bin/btrfs balance cancel %I --- It automates quite nicely and needs no additional code. -- Tomasz Torcz

Re: 64-btrfs.rules and degraded boot

2016-07-06 Thread Tomasz Torcz
one > > as part of startup sequence? And note that nowhere is systemd involved so far. Getting rid of such loops was the original motivation for the ioctl: http://www.spinics.net/lists/linux-btrfs/msg17372.html Maybe the ioctl need extending? Instead of returning 1/0, it could take flag sa

Re: [RFC] Experimental btrfs encryption

2016-03-01 Thread Tomasz Torcz
e with existing encrypting filesystems: – ext4 ? – ZFS ? It would be nice to have common API for encryption, not a dozen of filesystem-specific interfaces. -- Tomasz Torcz 72->| 80->| xmpp: zdzich...@chrome.pl

Re: systemd : Timed out waiting for defice dev-disk-by…

2015-07-24 Thread Tomasz Torcz
if it could be reduced. -- Tomasz TorczThere exists no separation between gods and men: xmpp: zdzich...@chrome.pl one blends softly casual into the other. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org

Re: unexplainable corruptions 3.17.0

2014-10-20 Thread Tomasz Torcz
with 0 errors I guess I'll have to check the patch Marc pointed out. -- Tomasz Torcz Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.plwagon filled with backup tapes. -- Jim Gray -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: unexplainable corruptions 3.17.0

2014-10-20 Thread Tomasz Torcz
On Fri, Oct 17, 2014 at 08:53:06AM -0400, Chris Mason wrote: On Fri, Oct 17, 2014 at 4:54 AM, Tomasz Torcz to...@pipebreaker.pl wrote: On Fri, Oct 17, 2014 at 04:29:36PM +0800, Liu Bo wrote: On Fri, Oct 17, 2014 at 10:10:09AM +0200, Tomasz Torcz wrote: On Fri, Oct 17, 2014 at 04:02:03PM

Re: unexplainable corruptions 3.17.0

2014-10-20 Thread Tomasz Torcz
On Fri, Oct 17, 2014 at 11:01:51AM -0400, Chris Murphy wrote: On Oct 16, 2014, at 5:17 AM, Tomasz Torcz to...@pipebreaker.pl wrote: Broken files are in /var/log/journal directory. This directory is set NOCOW with chattr, all the files within too. Example of broken file: system

Re: unexplainable corruptions 3.17.0

2014-10-17 Thread Tomasz Torcz
started scrub of full volume. It will take some hours to finish. Meanwhile, could you satisfy my curiosity what would scrub do that wouldn't be done by just reading the whole file? -- Tomasz Torcz Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.plwagon

Re: unexplainable corruptions 3.17.0

2014-10-17 Thread Tomasz Torcz
On Fri, Oct 17, 2014 at 04:29:36PM +0800, Liu Bo wrote: On Fri, Oct 17, 2014 at 10:10:09AM +0200, Tomasz Torcz wrote: On Fri, Oct 17, 2014 at 04:02:03PM +0800, Liu Bo wrote: Recently I've observed some corruptions to systemd's journal files which are somewhat puzzling

unexplainable corruptions 3.17.0

2014-10-16 Thread Tomasz Torcz
Hi, Recently I've observed some corruptions to systemd's journal files which are somewhat puzzling. This is especially worrying as this is btrfs raid1 setup and I expected auto-healing. System details: 3.17.0-301.fc21.x86_64 btrfs: raid1 over 2x dm-crypted 6TB HDDs. mount opts:

Re: REPORT: Still a lot of BTRFS freezes in 3.16.1-1-ARCH

2014-08-24 Thread Tomasz Torcz
with 3.16.1-1-ARCH kernel, fully running on BTRFS (with LZO compression) over LVM over LUKS. Have you applied Liu's patch[1]? It not useful reporting knows bugs, if you haven't. 1 – http://www.spinics.net/lists/linux-btrfs/msg36616.html -- Tomasz Torcz

Re: [PATCH] Btrfs-progs: fix race condition between btrfs and udev

2014-06-11 Thread Tomasz Torcz
On Wed, Jun 11, 2014 at 08:11:38PM +0800, Wang Shilong wrote: So the problem is RW opening would trigger udev event which will call btrfs_scan_one_device(). In btrfs_scan_one_device(), it would open the block device with EXCL flag..meanwhile if another program try to open that device with

Re: [RFC PATCH 0/3] Btrfs: add xxhash algorithm

2014-05-07 Thread Tomasz Torcz
CPU. Since 2008, Intel CPUs have crc32 instruction, hugely speeding up CRC operations. -- Tomasz Torcz God, root, what's the difference? xmpp: zdzich...@chrome.pl God is more forgiving. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: Which companies are using Btrfs in production?

2014-04-24 Thread Tomasz Torcz
On Wed, Apr 23, 2014 at 06:19:52PM -0700, Marc MERLIN wrote: Oh while we're at it, are there companies that can say they are using btrfs in production? Jolla is selling smartphones with btrfs. -- Tomasz TorczThere exists no separation between gods and men: xmpp: zdzich

Re: Working on Btrfs as topic for master thesis

2014-01-17 Thread Tomasz Torcz
ideas at https://btrfs.wiki.kernel.org/index.php/Project_ideas and am especially interested in working on one of the following topics: Have you considered per-file/per-directory selection of raid level? -- Tomasz Torcz God, root, what's the difference? xmpp: zdzich

Re: [RFC 0/5] BTRFS hot relocation support

2013-05-06 Thread Tomasz Torcz
, do not need to reformat backing storage. -- Tomasz TorczOnly gods can safely risk perfection, xmpp: zdzich...@chrome.pl it's a dangerous thing for a man. -- Alia -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: exploit preload daemon to defragment most needed files

2013-05-05 Thread Tomasz Torcz
/systemd/commit/?id=746f89063666be8c4d538271c646585ac4fc4353 -- Tomasz Torcz Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.plwagon filled with backup tapes. -- Jim Gray -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: [PATCH] Btrfs-progs: add skinny metadata support to progs V2

2013-03-15 Thread Tomasz Torcz
On Fri, Mar 15, 2013 at 02:52:29PM -0400, Josef Bacik wrote: This fixes up the progs to properly deal with skinny metadata. This adds the -x option to mkfs and btrfstune for enabling the skinny metadata option. This also makes changes to fsck so it can properly deal with the skinny

Re: Running Apache Derby on 3.8 and BTRFS cause kernel oops

2013-02-28 Thread Tomasz Torcz
bzImage use 'bzImage' as kernel image -append cmdline use 'cmdline' as kernel command line -initrd fileuse 'file' as initial ram disk -- Tomasz TorczOnly gods can safely risk perfection, xmpp: zdzich...@chrome.pl it's a dangerous thing for a man. -- Alia -- To unsubscribe

Re: experimental raid5/6 code in git

2013-02-05 Thread Tomasz Torcz
Hi, I believe XOR_BLOCKS must be selected, otherwise build fails with: ERROR: xor_blocks [fs/btrfs/btrfs.ko] undefined! diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index 4f5dc93..5f583c8 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -7,6 +7,7 @@ config BTRFS_FS select

Re: Does btrfs adapt to size changes of underlying block device(s)?

2013-02-04 Thread Tomasz Torcz
[gkm]|[devid:]max path -- Tomasz Torcz Morality must always be based on practicality. xmpp: zdzich...@chrome.pl-- Baron Vladimir Harkonnen -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org

Re: cannot mount with acl

2013-02-02 Thread Tomasz Torcz
On Sat, Feb 02, 2013 at 03:03:48PM -0600, CSights wrote: Hello, btrfs is failing to mount if I use the mount option acl. There is no such option. ACLs are enabled by default, you can only disable them with noacl option. -- Tomasz Torcz Never underestimate the bandwidth

Re: Old (almost 2 years) btrfs failed fs. Parent transid failure. Can it be fixed ?

2012-10-29 Thread Tomasz Torcz
you need to get branch dangerdonoteveruse to get real fsck code. sudo mount -t btrfs /dev/sda /mnt/disk/ Could you try with -o recovery? -- Tomasz Torcz 72-| 80-| xmpp: zdzich...@chrome.pl 72

Re: [PATCH] btrfs-progs: mkfs: rename nodiscard option to K

2012-07-17 Thread Tomasz Torcz
On Tue, Jul 17, 2012 at 11:14:17AM +0200, David Sterba wrote: The original patch named the option -T, mkfs.xfs uses -K let's keep it same. mkfs.ext2 used to have -K also, so one more +1 for this patch. -- Tomasz TorczOnly gods can safely risk perfection, xmpp: zdzich

Re: btrfs filesystems can only be mounted after an unclean shutdown if btrfsck is run and immediately killed!

2012-06-08 Thread Tomasz Torcz
. It is typically done from udev rules. Also, dracut does it in initramfs for quite a long time. -- Tomasz TorczTo co nierealne -- tutaj jest normalne. xmpp: zdzich...@chrome.pl Ziomale na życie mają tu patenty specjalne. -- To unsubscribe from this list: send the line

Re: SSD format/mount parameters questions

2012-05-18 Thread Tomasz Torcz
is not that different anymore. -- Tomasz Torcz God, root, what's the difference? xmpp: zdzich...@chrome.pl God is more forgiving. -- 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

Re: BTRFS RAID

2012-05-04 Thread Tomasz Torcz
for any help you can provide. Restriping had landed, so it should be doable. -- Tomasz Torcz God, root, what's the difference? xmpp: zdzich...@chrome.pl God is more forgiving. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: [PATCH v2 0/5] Allow for quick removing of btrfs signature from block device

2012-05-01 Thread Tomasz Torcz
? -- Tomasz Torcz 72-| 80-| xmpp: zdzich...@chrome.pl 72-| 80-| -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: Encryption implementation like ZFS?

2011-12-30 Thread Tomasz Torcz
and selective encryption like in ZFS. -- Tomasz Torcz RIP is irrevelant. Spoofing is futile. xmpp: zdzich...@chrome.pl Your routes will be aggreggated. -- Alex Yuriev -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Tomasz Torcz
On Fri, May 06, 2011 at 01:04:28PM -0700, cac...@quantum-sci.com wrote: Anyone here? Could you create link from you root parition to /dev/root and try again? -- Tomasz Torcz Morality must always be based on practicality. xmpp: zdzich...@chrome.pl-- Baron

Re: minor ID for btrfs-control

2011-04-02 Thread Tomasz Torcz
. -- Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processor.'' xmpp: zdzich...@chrome.pl -- Mitchell Blank on LKML -- 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

Re: Shrinking virtual disk with btrfs on it

2011-01-22 Thread Tomasz Torcz
. I presume it is due to free space that isn't zeroed out. Does btrfs issue TRIM commands to the underlying (virtual) block device? It does when mounted with - o discard. IIRC, btrfs also supports FITRIM ioctl (but I'm not 100% sure about this). -- Tomasz Torcz RIP

Re: SSD optimizations

2010-12-13 Thread Tomasz Torcz
— cleancache — btrfs temperature tracking — dm-hstore — dm-cache / flashcache Patches are in various states of implementation, some with explicit btrfs support. There's no clear winner at this time, but some of above solutions are shipped in distro kernels. -- Tomasz Torcz God

Re: VFS support for fast copy on deduplicating FSes

2010-11-25 Thread Tomasz Torcz
by manipulating metadata only? Yes, see reflink(2) syscall (http://lwn.net/Articles/331576/). -- Tomasz TorczFuneral in the morning, IDE hacking xmpp: zdzich...@chrome.plin the afternoon and evening. - Alan Cox -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [patch 0/2] Control filesystem balances (kernel side)

2010-11-01 Thread Tomasz Torcz
, reshape_position etc. /proc file is legacy. -- Tomasz Torcz Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.plwagon filled with backup tapes. -- Jim Gray -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: converting one-disk btrfs into RAID-1?

2010-10-12 Thread Tomasz Torcz
levels of data and meta data for an existing btrfs filesystem? It's easy to pick them when creating the system, but I couldn't find any way to view them afterwards. btrfs f df will show them, except for few kernel releases when the ioctl() was broken. -- Tomasz Torcz

Re: converting one-disk btrfs into RAID-1?

2010-10-12 Thread Tomasz Torcz
On Tue, Oct 12, 2010 at 10:49:35AM +0100, Hugo Mills wrote: On Tue, Oct 12, 2010 at 11:34:31AM +0200, Tomasz Torcz wrote: On Tue, Oct 12, 2010 at 11:32:07AM +0200, David Brown wrote: Is it possible to view the raid levels of data and meta data for an existing btrfs filesystem? It's easy

Re: Question about specific patch (eMMC)

2010-08-31 Thread Tomasz Torcz
it. I'm not aware of this at the moment. However, there are data-temperature tracking patches. Their point is to move hot data into faster storage. I believe they can grow into generic infrastructure to inform filesystems about non-homogenous nature of underlaying storage. -- Tomasz Torcz

Re: [PATCH 2/2] Btrfs-progs: Add hot data support in mkfs

2010-08-13 Thread Tomasz Torcz
and some fast SAS ones ? I'm hoping that this is just first cut, and future versions will have options. For now, it is totally unusable without a way of using mirrored SSD for hot data. Ideally, hot storage devices should be online selectable and changeable. -- Tomasz Torcz

Re: Status of BTRFS

2010-07-16 Thread Tomasz Torcz
or something like that? Download the source code, and follow what it says in the INSTALL file? Of course it is. Fedora installer allows btrfs since for few releases now. -- Tomasz TorczOnly gods can safely risk perfection, xmpp: zdzich...@chrome.pl it's a dangerous thing

Re: How to un degrade RAID10.

2010-06-21 Thread Tomasz Torcz
reports as 5 devices with #2 (the original slot for sda8) now vacant - dare I say missing. It reports as *** Some devices missng This seems counter intuitive to me. Suggestions ?. You can pass missing to btrfs device delete. -- Tomasz Torcz ,,If you try to upissue this patchset I

Re: Mounting raid without a btrfsctl scan

2010-05-15 Thread Tomasz Torcz
probing is general way kernel subsystem are going, it is more flexible. And dracut already has btrfs module. -- Tomasz Torcz ,,If you try to upissue this patchset I shall be seeking xmpp: zdzich...@chrome.pl an IP-routable hand grenade.'' -- Andrew Morton (LKML) -- To unsubscribe

Re: iscsi target cause kernel oops on btrfs

2010-05-07 Thread Tomasz Torcz
, I've moved to userspace iSCSI implementation, which works fine. -- Tomasz Torcz Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.plwagon filled with backup tapes. -- Jim Gray -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: raild[56] again

2010-05-03 Thread Tomasz Torcz
RAID[56] support -- Tomasz Torcz ,,If you try to upissue this patchset I shall be seeking xmpp: zdzich...@chrome.pl an IP-routable hand grenade.'' -- Andrew Morton (LKML) pgpapzVu6MwL7.pgp Description: PGP signature

Re: [RFC] btrfs, udev and btrfs

2010-04-16 Thread Tomasz Torcz
asked dracut guys for including btrfs support. Current result is here: http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=tree;f=modules.d/90btrfs It still being polished a little. -- Tomasz Torcz RIP is irrevelant. Spoofing is futile. xmpp: zdzich...@chrome.pl Your

Re: Unable to handle kernel NULL pointer dereference at virtual address 00000008

2010-01-21 Thread Tomasz Torcz
-- Tomasz Torcz God, root, what's the difference? xmpp: zdzich...@chrome.pl God is more forgiving. -- 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: How to mount a subvolume?

2010-01-09 Thread Tomasz Torcz
is not a valid block device root.2010-01-07 is a snapshot of the /root-directory taken (successfully) with the following command: btrfsctl -s root.2010-01-07 /root Snapshots aren't subvolumes. You create mountable subvolumes with btrfsctl -S -- Tomasz Torcz RIP is irrevelant

Re: yum upgrade on btrfs very slow

2009-10-26 Thread Tomasz Torcz
On Mon, Oct 26, 2009 at 05:55:45PM +0900, Chris Mason wrote: On Wed, Oct 21, 2009 at 11:27:33AM +0200, Tomasz Torcz wrote: On Thu, Oct 01, 2009 at 11:01:46AM +0200, Tomasz Torcz wrote: On Wed, Sep 30, 2009 at 09:43:51PM +0200, Tomasz Torcz wrote: If you're comparing w/ext3

Re: yum upgrade on btrfs very slow

2009-10-01 Thread Tomasz Torcz
On Wed, Sep 30, 2009 at 09:43:51PM +0200, Tomasz Torcz wrote: If you're comparing w/ext3 and wondering why btrfs is sooo much slower it might be because btrfs has barriers on by default and ext3 doesn't. You could mount -o nobarrier for btrfs or mount -o barrier=1 for ext3

Re: yum upgrade on btrfs very slow

2009-09-29 Thread Tomasz Torcz
On Mon, Sep 28, 2009 at 09:35:43AM -0400, Chris Mason wrote: On Mon, Sep 28, 2009 at 02:18:27PM +0200, Tomasz Torcz wrote: Hi, I'm using btrfs as rootfs on my Fedora 12 (rawhide) test system. Every yum activity is very slow, like 15 minutes for installation of 11 packages 25MB

yum upgrade on btrfs very slow

2009-09-28 Thread Tomasz Torcz
[.] __GI_memcpy -- Tomasz Torcz 72-| 80-| xmpp: zdzich...@chrome.pl 72-| 80-| procs ---memory-- ---swap-- -io --system-- -cpu- r b swpd free buff cache

Re: btrfs csum failed on git .pack file

2009-09-17 Thread Tomasz Torcz
, that what's so great in checksumming filesystems. You found bad module thanks to btrfs, otherwise you wouldn't suspect anything wrong. If you have had raid-1 for data, this corruption would have been fixed by btrfs. -- Tomasz Torcz 72-| 80

Re: btrfs not iSCSI-target safe?

2009-07-23 Thread Tomasz Torcz
On Wed, Jul 22, 2009 at 10:40:31AM -0400, Chris Mason wrote: On Wed, Jul 22, 2009 at 01:27:06PM +0200, Tomasz Torcz wrote: Hi, I tried to export file from btrfs volume using iSCSI target. As soon as some initiator have read it over network, server oopsed: http://www.kerneloops.org

btrfs not iSCSI-target safe?

2009-07-22 Thread Tomasz Torcz
]--- -- Tomasz Torcz Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.plwagon filled with backup tapes. -- Jim Gray -- 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

Re: Using SSDs for caching?

2009-06-18 Thread Tomasz Torcz
of FS-Cache also. ¹ first-level is page cache in RAM -- Tomasz Torcz Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.plwagon filled with backup tapes. -- Jim Gray -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: Btrfs development plans

2009-04-20 Thread Tomasz Torcz
and merge ZFS with btrfs. Just kidding, I don't think it would be technically feasible. (OTOH, acquiring Sun's patent portfolio… there are some strange places on earth where people care about software patents). -- Tomasz Torcz RIP is irrevelant. Spoofing is futile. xmpp: zdzich

Re: crc32c implementation on x86 with SSE4.2... CONFIG_BTRFS_HW_SUM

2008-10-17 Thread Tomasz Torcz
. This way you can avoid implementing crc32 for each architecture (like, for example UltraSPARC T2, which computes crc at healthy 48 GB/s). -- Tomasz Torcz -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: single disk reed solomon codes

2008-07-21 Thread Tomasz Torcz
, given todays 1,5TB HDDs. -- Tomasz Torcz -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html