| From | Subject | Date |
|---|---|---|
| tytso | Re: Q wrt LVM snapshot of ext4 w/ external journal
It's safe to mount the LVM2 snapshot only if you use the mount option
noload. This will prevent it from using the journal, which is good,
No, it's not documented. It probably should be.
Hopefully, mounting the snapshot without using noload _should_ fail,
since the journal is already in use, but I'm not sure we have that
check in place, so I don't recommend trying it on a production file
system.
- Ted
--
| Apr 13, 12:22 pm 2010 |
| Larkin Lowrey | Q wrt LVM snapshot of ext4 w/ external journal
Is it safe to mount an LVM2 snapshot of an ext4 fs that has an external
journal?
My googling has revealed only that the snapshot procedure will cause the
fs to checkpoint the journal (if that's the right term) but also that
the fs will want to replay the journal when mounted, even if -o ro. If
my journal is on an external device (NVRAM device in my case) I don't
want the snapshot instance to interfere with the main on-line fs's use
of the journal.
Is there any documentation, other than code, ...
| Apr 13, 11:22 am 2010 |
| Larkin Lowrey | Re: Q wrt LVM snapshot of ext4 w/ external journal
I was able to verify that mounting with noload worked as advertised.
I also verified that mounting w/o noload causes the mount operation to
fail. The message was "failed to claim external journal device".
When I unmounted the original fs so that the journal device was not in
use and then tried to mount the snapshot w/o noload, the mounted
snapshot was able to claim the journal. Of course I would never do that
on purpose but I wanted to see what would happen. I believe this falls
under the ...
| Apr 13, 2:06 pm 2010 |
| Eric Sandeen | Re: No space left on device after many files creation
ext2/3/4 don't allocate dynamically; there was some talk of trying to
find a way to do this but it's not really very high on the list at all.
No, but since you know your usecase, you can change it at mkfs time to
match what you need.
-Eric
--
| Apr 13, 8:34 am 2010 |
| cy6erGn0m | Re: No space left on device after many files creation
I use filysystem as Set data structure to make fast checks from scripts.
Of course I can make long long file and test it with grep but it's will
have linear performance degradation (List), at the same time file system
has efficient tree binary structures (smth. like TreeSet). So, using
filesystem is the simplest way to do this efficient. Also I always have
timestamps for every entry. In this usecase all files are always empty.
Here is simple performance comparison: list vs ...
| Apr 12, 11:35 pm 2010 |
| Jan Kara | Re: [PATCH 1/2] ext3: init statistics after journal reco ...
Merged. Thanks.
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Apr 13, 7:26 am 2010 |
| john stultz | Re: ext4 dbench performance with CONFIG_PREEMPT_RT
Hey Ted,
Sorry this took so long. I've been using a fairly large pile of patches
in my testing on top of -rt, and since with -rt lockstat is less useful
(you don't get any of the contention data for mutexes, and the contended
spinlocks are always the internal rtmutex locks), I tried to regenerate
the data on something closer to plain vanilla.
So I ran dbench with 2.6.33, 2.6.33 + Nick Piggin's VFS scalability
patches, and 2.6.33 + Nick's patches + your state-lock patch on an 8 cpu
system. ...
| Apr 12, 8:52 pm 2010 |
| Darren Hart | Re: ext4 dbench performance with CONFIG_PREEMPT_RT
I didn't follow that part - how will dbench prevent threads from
Nothing specific per-se, however, being a blocking lock, it will put all
those locks to sleep and then wake them in priority fifo order as the
lock becomes available. Unless dbench is being run with various priority
levels (I don't think John is doing that) then the PI part won't really
come into play. If we were, then we would see some more scheduling
overhead as high prio tasks became available, blocked on the lock, ...
| Apr 13, 9:25 am 2010 |
| tytso | Re: ext4 dbench performance with CONFIG_PREEMPT_RT
Yeah, that sounds right. We do have a classic thundering hurd problem
when we while are draining handles from the transaction in the
T_LOCKED state --- that is (for those who aren't jbd2 experts) when it
comes time to close out the current transaction, one of the first
things that fs/jbd2/commit.c will do is to set the transaction into
T_LOCKED state. In that state we are waiting for currently active
handles to complete, and we don't allow any new handles to start until
the currently running ...
| Apr 13, 7:52 am 2010 |
| bugzilla-daemon | [Bug 15655] corrupt ext3 fs and partial freeze
https://bugzilla.kernel.org/show_bug.cgi?id=15655
Alban Browaeys <prahal@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX
--- Comment #1 from Alban Browaeys <prahal@yahoo.com> 2010-04-13 11:22:50 ---
This is fixed with de329820e920cd9cfbc2127cad26a37026260cce ext3: ...
| Apr 13, 4:23 am 2010 |
| previous day | today | next day |
|---|---|---|
| April 12, 2010 | April 13, 2010 | April 14, 2010 |
