2009-12-05 00:08:30

by Andreas Dilger

[permalink] [raw]
Subject: [PATCH][RFC] kjournald affinity patch

Per discussion on the ext4 concall, attached is a basic version of the
journal affinity patch against an older kernel (2.6.10) and ext3, but
looking at the patch it doesn't seem very dependent upon the ext3/ext4
version at all and can probably be .

This defaults to enabling NUMA affinity if CONFIG_NUMA is enabled, so
per our discussion it probably needs a mount option that will enable
it only if specified. We had discussed
"journal_affinity={off,on,node#}" or "={none,auto,node#}" as
possibilities.

Original patch was developed by someone at Bull (possibly even Johann,
when he worked there), but I don't have the exact attribution.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


Attachments:
kjournald-affinity.patch (1.33 kB)