atom feed47 messages in org.freebsd.freebsd-fsGJournal (hopefully) final patches.
FromSent OnAttachments
Pawel Jakub DawidekAug 8, 2006 7:52 pm 
Markus TrippelsdorfAug 8, 2006 9:02 pm 
Markus TrippelsdorfAug 8, 2006 9:41 pm 
Daniel O'ConnorAug 9, 2006 12:43 am 
Pawel Jakub DawidekAug 9, 2006 6:24 am 
Brian CandlerAug 9, 2006 12:58 pm 
Pawel Jakub DawidekAug 9, 2006 1:03 pm 
Dag-Erling SmørgravAug 10, 2006 1:38 pm 
Markus TrippelsdorfAug 10, 2006 1:54 pm 
Chuck SwigerAug 10, 2006 2:05 pm 
Kip MacyAug 10, 2006 3:33 pm 
Craig BostonAug 10, 2006 6:47 pm 
Eric AndersonAug 10, 2006 7:06 pm 
Craig BostonAug 10, 2006 7:18 pm 
Jan SrzednickiAug 10, 2006 7:21 pm 
Pawel Jakub DawidekAug 10, 2006 7:29 pm 
Pawel Jakub DawidekAug 10, 2006 7:43 pm 
R. B. RiddickAug 10, 2006 7:59 pm 
Jan SrzednickiAug 10, 2006 8:01 pm 
Craig BostonAug 10, 2006 9:05 pm 
Sean BryantAug 10, 2006 9:18 pm 
Pawel Jakub DawidekAug 10, 2006 10:30 pm 
Pawel Jakub DawidekAug 10, 2006 10:37 pm 
Pawel Jakub DawidekAug 10, 2006 10:39 pm 
Sean BryantAug 10, 2006 10:53 pm 
Pawel Jakub DawidekAug 10, 2006 11:23 pm 
Sean BryantAug 10, 2006 11:27 pm 
Paul AllenAug 11, 2006 2:49 am 
Robert WatsonAug 11, 2006 1:33 pm 
Thomas QuinotAug 11, 2006 1:54 pm 
Pawel Jakub DawidekAug 11, 2006 2:00 pm 
Thomas QuinotAug 11, 2006 2:03 pm 
Pawel Jakub DawidekAug 11, 2006 2:06 pm 
Pawel Jakub DawidekAug 12, 2006 10:04 am 
Igor RobulAug 16, 2006 1:05 pm 
Igor RobulAug 16, 2006 1:09 pm 
R. B. RiddickAug 16, 2006 1:44 pm 
R. B. RiddickAug 17, 2006 12:11 am 
Eric AndersonAug 17, 2006 2:54 am 
Eric AndersonAug 17, 2006 1:14 pm 
Pawel Jakub DawidekAug 17, 2006 2:08 pm 
Eric AndersonAug 17, 2006 2:47 pm 
Pawel Jakub DawidekAug 17, 2006 3:00 pm 
Eric AndersonAug 17, 2006 3:02 pm 
Pawel Jakub DawidekAug 17, 2006 3:20 pm 
Eric AndersonAug 17, 2006 3:24 pm 
Ulrich SpoerleinAug 18, 2006 6:37 pm 
Subject:GJournal (hopefully) final patches.
From:Craig Boston (cra@xfoil.gank.org)
Date:Aug 10, 2006 6:47:16 pm
List:org.freebsd.freebsd-fs

Hi,

It's great to see this project so close to completion! I'm trying it out on a couple machines to see how it goes.

A few comments and questions:

* It took me a little by surprise that it carves 1G out of the device for the journal. Depending on the size of the device that can be a pretty hefty price to pay (and I didn't see any mention of it in the setup notes). For a couple of my smaller filesystems I reduced it to 512MB. Perhaps some algorithm for auto-sizing the journal based on the size / expected workload of the device would be in order?

* Attached is a quick patch for geom_eli to allow it to pass BIO_FLUSH down to its backing device. It seems like the right thing to do and fixes the "BIO_FLUSH not supported" warning on my laptop that uses a geli encrypted disk.

* On a different system, however, it complains about it even on a raw ATA slice:

atapci1: <Intel ICH4 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: <ATA channel 0> on atapci1 ad0: 114473MB <WDC WD1200JB-00CRA1 17.07W17> at ata0-master UDMA100 GEOM_JOURNAL: BIO_FLUSH not supported by ad0s1e.

It seems like a reasonably modern controller and disk, at least it should be capable of issuing a cache flush command. Not sure why it doesn't like it :/

* How "close" does the filesystem need to be to the gjournal device in order for the UFS hooks to work? Directly on it?

The geom stack on my laptop currently looks something like this:

[geom_disk] ad0 <- [geom_eli] ad0.eli <- [geom_gpt] ad0.elip6 <- [geom_label] gjtest <- [geom_journal] gjtest.journal <- UFS

I was wondering if an arrangement like this would work:

[geom_journal] ad0p6.journal <- [geom_eli] ad0p6.journaleli <- UFS

and if it would be any more efficient (journal the encrypted data rather than encrypt the journal). Or even gjournal the whole disk at once?

Haven't been brave enough to try gjournal on root yet, but my /usr and /compile (src, obj, ports) partitions are already on it so I'm sure I'll try it soon ;)

Craig