From: Mingming Cao [EMAIL PROTECTED]
This patch marks slab allocations by jbd2 as short-lived in support of
Mel Gorman's Group short-lived and reclaimable kernel allocations
patch. (Ported from similar changes made to fs/jbd/journal.c and
fs/jbd/revoke.c in Mel's patch.)
Cc: Mel Gorman [EMAIL
From: Chris Snook [EMAIL PROTECTED]
Signed-off-by: Chris Snook [EMAIL PROTECTED]
Cc: Stephen C. Tweedie [EMAIL PROTECTED]
Cc: Theodore Ts'o [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
Signed-off-by: Theodore Ts'o [EMAIL PROTECTED]
---
include/linux/jbd2.h | 16
From: Eric Sandeen [EMAIL PROTECTED]
There are many casts in extents.c which are not needed,
as the variables are already the type of the cast, or
are being promoted for no particular reason in printk's.
Signed-off-by: Eric Sandeen [EMAIL PROTECTED]
Signed-off-by: Mingming Cao [EMAIL PROTECTED]
On Sat, 19 Jan 2008 16:05:06 + Alan Cox [EMAIL PROTECTED] wrote:
These ports are holding up progress and now have been for months. Do the
job for them.
Never understood the dependencies here. Do these two patches depend on
something
else which is only-in-mm?
Also, I've been uncertainly
From: Aneesh Kumar K.V [EMAIL PROTECTED]
Rename i_file_acl to i_file_acl_lo. This helps
in finding bugs where we use i_file_acl instead
of the combined i_file_acl_lo and i_file_acl_high
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext4/inode.c |4 ++--
From: Mariusz Kozlowski [EMAIL PROTECTED]
The unused code found in ext3_find_entry() is also present (and still
unused) in the ext4_find_entry() code. This patch removes it.
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
Signed-off-by: Theodore Ts'o [EMAIL PROTECTED]
---
fs/ext4/namei.c |
From: Aneesh Kumar K.V [EMAIL PROTECTED]
ext4 uses the high bit of the extent length to encode whether the extent
is intialized or not. The helper function ext4_ext_get_actual_len should
be used to get the actual length of the extent.
This addresses the kernel bug documented here:
From: Aneesh Kumar K.V [EMAIL PROTECTED]
Enable the multiblock allocator by default.
Fix ext4_show_options() so if it is not enabled, the nomballoc option
included in /proc/mounts.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
Acked-by: Eric Sandeen [EMAIL PROTECTED]
Signed-off-by: Mingming
From: Aneesh Kumar K.V [EMAIL PROTECTED]
ext4_ext_get_blocks returns negative values on error. We should
check for = 0
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext4/extents.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/ext4/extents.c
From: Aneesh Kumar K.V [EMAIL PROTECTED]
This fix some instances where we were continuing after calling
ext4_error. ext4_error call panic only if errors=panic mount option is
set. So we need to make sure we return correctly after ext4_error call
Reported by: Adrian Bunk [EMAIL PROTECTED]
From: Aneesh Kumar K.V [EMAIL PROTECTED]
The max file size for ext2 file system is now calculated
with hardcoded 4K block size. The patch fixes it to be
calculated with the right block size.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext2/super.c | 32
From: Aneesh Kumar K.V [EMAIL PROTECTED]
The max file size for ext3 file system is now calculated
with hardcoded 4K block size. The patch fixes it to be
calculated with the right block size.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext3/super.c | 32
From: Aneesh Kumar K.V [EMAIL PROTECTED]
Add buffer head related helper function bh_uptodate_or_lock and
bh_submit_read which can be used by file system
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/buffer.c | 41 +
From: Aneesh Kumar K.V [EMAIL PROTECTED]
When we are overwriting a file and not actually allocating new file system
blocks we need to take only the read lock on i_data_sem.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext4/inode.c | 32
1 files
From: Eric Sandeen [EMAIL PROTECTED]
Export iov_shorten() from kernel so that ext4 can
truncate too-large writes to bitmapped files.
Signed-off-by: Eric Sandeen [EMAIL PROTECTED]
---
fs/read_write.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/read_write.c
From: Eric Sandeen [EMAIL PROTECTED]
When mounting an ext4 filesystem with corrupted s_first_data_block, things
can go very wrong and oops.
Because blocks_count in ext4_fill_super is a u64, and we must use do_div,
the calculation of db_count is done differently than on ext4. If
first_data_block
From: Jan Kara [EMAIL PROTECTED]
Before we start committing a transaction, we call
__journal_clean_checkpoint_list() to cleanup transaction's written-back
buffers.
If this call happens to remove all of them (and there were already some
buffers), __journal_remove_checkpoint() will decide to free
From: Aneesh Kumar K.V [EMAIL PROTECTED]
Introduce ext4_update_*_feature and use them instead
of opencoding.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext4/ialloc.c| 11 +++-
fs/ext4/super.c | 60 +++
From: Aneesh Kumar K.V [EMAIL PROTECTED]
Fix sparse warnings related to static functions
and local variables.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext4/extents.c |6 +++---
fs/ext4/inode.c | 18 +++---
fs/ext4/super.c |3 +++
From: Aneesh Kumar K.V [EMAIL PROTECTED]
This patch converts ext4_inode i_blocks to represent total
blocks occupied by the inode in file system block size.
Earlier the variable used to represent this in 512 byte
block size. This actually limited the total size of the file.
The feature is enabled
From: Aneesh Kumar K.V [EMAIL PROTECTED]
We need to look at the default value and make sure
the mount options are not set via default value
before showing them via ext4_show_options
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext4/super.c | 26 +++---
1 files
From: Aneesh Kumar K.V [EMAIL PROTECTED]
When a new block bitmap is read from disk in read_block_bitmap()
there are a few bits that should ALWAYS be set. In particular,
the blocks given corresponding to block bitmap, inode bitmap and inode tables.
Validate the block bitmap against these blocks.
From: Mingming Cao [EMAIL PROTECTED]
Ported from similar patch for the jbd layer.
Signed-off-by: Mingming Cao [EMAIL PROTECTED]
Signed-off-by: Theodore Ts'o [EMAIL PROTECTED]
---
fs/jbd2/transaction.c | 11 +++
include/linux/jbd2.h |4
2 files changed, 15 insertions(+), 0
From: Aneesh Kumar K.V [EMAIL PROTECTED]
Rename ext4_inode.i_dir_acl to i_size_high
drop ext4_inode_info.i_dir_acl as it is not used
Rename ext4_inode.i_size to ext4_inode.i_size_lo
Add helper function for accessing the ext4_inode combined i_size.
Signed-off-by: Aneesh Kumar K.V [EMAIL
From: Aneesh Kumar K.V [EMAIL PROTECTED]
When doing a migrate from ext3 to ext4 inode we need to make sure the test
for inode type and walking inode data happens inside lock. To make this
happen move truncate_mutex early before checking the i_flags.
This actually should enable us to remove the
From: Aneesh Kumar K.V [EMAIL PROTECTED]
Use the __le16 l_i_reserved1 field of the linux2 struct of ext4_inode
to represet the higher 16 bits for i_blocks. With this change max_file
size becomes (2**48 -1 )* 512 bytes.
We add a RO_COMPAT feature to the super block to indicate that inode
have
From: Aneesh Kumar K.V [EMAIL PROTECTED]
We are currently taking the truncate_mutex for every read. This would have
performance impact on large CPU configuration. Convert the lock to read write
semaphore and take read lock when we are trying to read the file.
Signed-off-by: Aneesh Kumar K.V
From: Aneesh Kumar K.V [EMAIL PROTECTED]
The below patch add ioctl for migrating ext3 indirect block mapped inode
to ext4 extent mapped inode.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
---
fs/ext4/Makefile|2 +-
fs/ext4/ioctl.c |3 +
fs/ext4/migrate.c |
From: Eric Sandeen [EMAIL PROTECTED]
use 2 different maxbytes functions for bitmapped extent-based
files.
Signed-off-by: Eric Sandeen [EMAIL PROTECTED]
---
fs/ext4/super.c | 45 ++---
1 files changed, 42 insertions(+), 3 deletions(-)
diff --git
From: Avantika Mathur [EMAIL PROTECTED]
In many places variables for block group are of type int, which limits the
maximum number of block groups to 2^31. Each block group can have up to
2^15 blocks, with a 4K block size, and the max filesystem size is limited to
2^31 * (2^15 * 2^12) = 2^58 --
From: Aneesh Kumar K.V [EMAIL PROTECTED]
ext4 file system was by default ignoring errors and continuing. This
is not a good default as continuing on error could lead to file system
corruption. Change the default to mark the file system
readonly. Debian and ubuntu already does this as the default
From: Jan Kara [EMAIL PROTECTED]
With 64KB blocksize, a directory entry can have size 64KB which does not fit
into 16 bits we have for entry lenght. So we store 0x instead and convert
value when read from / written to disk. The patch also converts some places
to use ext4_next_entry() when we
From: Coly Li [EMAIL PROTECTED]
This patch extends bg_itable_unused of ext4 group descriptor
from 16bit into 32bit. In order to add bg_itable_unused_hi into
struct ext4_group_desc, some extra fields which are already introduced into
e2fsprogs are also added in for consistency.
Signed-off-by:
From: Girish Shilamkar [EMAIL PROTECTED]
The journal checksum feature adds two new flags i.e
JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT and JBD2_FEATURE_COMPAT_CHECKSUM.
JBD2_FEATURE_CHECKSUM flag indicates that the commit block contains the
checksum for the blocks described by the descriptor blocks.
From: Eric Sandeen [EMAIL PROTECTED]
Builds with EXT4FS_DEBUG defined (to enable ext4_debug()) fail
without these changes. Clean up some format warnings too.
Signed-off-by: Eric Sandeen [EMAIL PROTECTED]
Signed-off-by: Mingming Cao [EMAIL PROTECTED]
---
fs/ext4/balloc.c |6 +++---
From: Jean Noel Cordenner [EMAIL PROTECTED]
The i_version field of the inode is changed to be a 64-bit counter that
is set on every inode creation and that is incremented every time the
inode data is modified (similarly to the ctime time-stamp).
The aim is to fulfill a NFSv4 requirement for
From: Aneesh Kumar K.V [EMAIL PROTECTED]
sb_set_blocksize validates whether the specfied block size can be used by
the file system. Make sure we fail mounting the file system if the
blocksize specfied cannot be used.
Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED]
Signed-off-by: Mingming Cao
From: Aneesh Kumar K.V [EMAIL PROTECTED]
This patch adds a new data type ext4_lblk_t to represent
the logical file blocks.
This is the preparatory patch to support large files in ext4
The follow up patch with convert the ext4_inode i_blocks to
represent the number of blocks in file system block
From: Jean Noel Cordenner [EMAIL PROTECTED]
This patch adds 64-bit inode version support to ext4. The lower 32 bits
are stored in the osd1.linux1.l_i_version field while the high 32 bits
are stored in the i_version_hi field newly created in the ext4_inode.
This field is incremented in case the
From: Johann Lombardi [EMAIL PROTECTED]
The patch below updates the jbd stats patch to 2.6.20/jbd2.
The initial patch was posted by Alex Tomas in December 2005
(http://marc.info/?l=linux-ext4m=113538565128617w=2).
It provides statistics via procfs such as transaction lifetime and size.
From: Avantika Mathur [EMAIL PROTECTED]
This patch fixes various places where the group number is set to a negative
value.
Signed-off-by: Avantika Mathur [EMAIL PROTECTED]
Signed-off-by: Theodore Ts'o [EMAIL PROTECTED]
---
fs/ext4/ialloc.c | 101
On Tue, Jan 22, 2008 at 09:56:57AM +0900, Paul Mundt wrote:
On Mon, Jan 21, 2008 at 01:06:41PM +0100, Sam Ravnborg wrote:
On Mon, Jan 21, 2008 at 07:52:57PM +0900, Paul Mundt wrote:
On Mon, Jan 21, 2008 at 11:47:45AM +0100, Sam Ravnborg wrote:
On Mon, Jan 21, 2008 at 11:45:06AM +0100,
On Mon, Jan 21, 2008 at 04:00:41PM -0700, Andreas Dilger wrote:
On Jan 16, 2008 13:30 -0800, Valerie Henson wrote:
I have a partial solution that sort of blindly manages the buffer
cache. First, the user passes e2fsck a parameter saying how much
memory is available as buffer cache. The
From: Mingming Cao [EMAIL PROTECTED]
Get rid of sparse related warnings from places that use integer as NULL
pointer. (Ported from upstream ext3/jbd changes.)
Signed-off-by: Mingming Cao [EMAIL PROTECTED]
Signed-off-by: Theodore Ts'o [EMAIL PROTECTED]
---
fs/jbd2/transaction.c | 12
From: Corey Minyard [EMAIL PROTECTED]
The DNS-323 system has several bogus memory entries in the tag table,
and it caused the system to crash at startup. Ignore tag entries that
are obviously bogus.
Signed-off-by: Corey Minyard [EMAIL PROTECTED]
---
arch/arm/kernel/setup.c |7 ++-
1
On Jan 22, 2008 5:14 AM, Ilpo Järvinen [EMAIL PROTECTED] wrote:
On Mon, 21 Jan 2008, Dave Young wrote:
Please see the kernel messages following,(trigged while using some qemu
session)
BTW, seems there's some e100 error message as well.
PCI: Setting latency timer of device
Chuck Ebbert [EMAIL PROTECTED] writes:
There is a fixup, so this should never happen. But the lock instruction
was replaced with a nop by the altinstruction code, and that makes the fixup
address wrong. AFAICT we don't fix up the exception table when we replace
a lock with a nop, which makes
On Tuesday 22 January 2008 16:03, Mike Galbraith wrote:
On Tue, 2008-01-22 at 11:05 +1100, Nick Piggin wrote:
On Tuesday 22 January 2008 07:58, Frederik Himpe wrote:
With Linux 2.6.24-rc8 I often have the problem that the pan usenet
reader starts using 100% of CPU time after some time.
cc'ing Tanaka-san given his recent raid1 BUG report:
http://lkml.org/lkml/2008/1/14/515
On Jan 21, 2008 6:04 PM, Mike Snitzer [EMAIL PROTECTED] wrote:
Under 2.6.22.16, I physically pulled a SATA disk (/dev/sdac, connected to
an aacraid controller) that was acting as the local raid1 member of
On Mon, Jan 21, 2008 at 11:45:35PM +0100, Bartlomiej Zolnierkiewicz wrote:
Hi Borislav,
On Sunday 20 January 2008, Borislav Petkov wrote:
On Mon, Jan 14, 2008 at 10:38:17PM +0100, Bartlomiej Zolnierkiewicz wrote:
By the way, I have an Iomega ZIP 100 drive somewhere in my hardware
On Sun, Jan 20, 2008 at 09:08:43AM +0200, Ian Brown wrote:
Hello,
I saw some posts (from about a month ago) about network namespace
support patches; I wonder: what
is the status of this patch set ? was it somehow forgotten ?
(I don't see it in v2.6.24-rc8 mm tree).
It wasn't forgotten, but
On Tue, 2008-01-22 at 16:25 +1100, Nick Piggin wrote:
On Tuesday 22 January 2008 16:03, Mike Galbraith wrote:
I've hit same twice recently (not pan, and not repeatable).
Nasty. The attached patch is something really simple that can sometimes help.
sysrq+p is also an option, if you're on a
Chris Friesen a écrit :
Eric Dumazet wrote:
Chris Friesen a écrit :
I've done some further digging, and it appears that one of the
problems we may be facing is very high instantaneous traffic rates.
Instrumentation showed up to 222K packets/sec for short periods (at
least 1.1 ms, possibly
Add the following class iteration functions for driver use:
class_for_each_device
class_find_device
class_for_each_child
class_find_child
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/base/class.c | 159 +
include/linux/device.h |
Convert to use the class iteration api.
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/ieee1394/nodemgr.c | 312 +
1 file changed, 175 insertions(+), 137 deletions(-)
diff -upr linux/drivers/ieee1394/nodemgr.c
On Mon, Jan 21, 2008 at 03:34:09PM -0800, Randy Dunlap wrote:
On Mon, 21 Jan 2008 11:38:38 +1100 Rusty Russell wrote:
On Sunday 20 January 2008 08:25:49 Sam Ravnborg wrote:
On Sat, Jan 19, 2008 at 11:56:43AM -0800, Randy Dunlap wrote:
rcu_online_cpu() should be __cpuinit instead of
Repost for review.
[PATCH 1/6] Add some class iteration functions in driver core
[PATCH 2-6/6] Make the drivers with class iterating to use class iteration api
toc:
---
1-driver-core-add-class-iteration-api.patch
2-ieee1394-use-class-iteration-api.patch
Convert to use the class iteration api.
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/power/apm_power.c | 116 ++
drivers/power/power_supply_core.c | 72 ---
2 files changed, 106 insertions(+), 82 deletions(-)
diff
Convert to use the class iteration api.
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/rtc/interface.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff -upr linux/drivers/rtc/interface.c linux.new/drivers/rtc/interface.c
---
Convert to use the class iteration api.
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/scsi/hosts.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff -upr linux/drivers/scsi/hosts.c linux.new/drivers/scsi/hosts.c
--- linux/drivers/scsi/hosts.c
Convert to use the class iteration api.
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/spi/spi.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff -upr linux/drivers/spi/spi.c linux.new/drivers/spi/spi.c
--- linux/drivers/spi/spi.c 2008-01-16
On Jan 22, 2008 1:54 PM, Dave Young [EMAIL PROTECTED] wrote:
Add the following class iteration functions for driver use:
class_for_each_device
class_find_device
class_for_each_child
class_find_child
Signed-off-by: Dave Young [EMAIL PROTECTED]
Acked-by: Cornelia Huck [EMAIL PROTECTED]
--
On Monday 21 January 2008, Dave Young wrote:
+/**
+ * class_for_each_device - device iterator
+ * @class: the class we're iterating
+ * @data: data for the callback
+ * @fn: function to be called for each device
+ *
+ * Iterate over @class's list of devices, and call @fn for
From: Marcel Holtmann [EMAIL PROTECTED]
Date: Tue, 22 Jan 2008 07:18:16 +0100
Right now I can't think of any side effects by this patch. Actually I
only see an improvement with this patch. So please take it directly and
starting with next week, I gonna make sure that they are handled again
On Jan 22, 2008 2:24 PM, David Brownell [EMAIL PROTECTED] wrote:
On Monday 21 January 2008, Dave Young wrote:
+/**
+ * class_for_each_device - device iterator
+ * @class: the class we're iterating
+ * @data: data for the callback
+ * @fn: function to be called for each device
Hi Dave,
Add people missed in cc-list.
Thanks Dave for your continued efforts on Bluetooth bugs like this.
Marcel, are you going to review/ACK/integrate/push-upstream/whatever
any of these Bluetooth patches?
It hasn't been getting much love from you as of late, you are one of
the
On Monday 21 January 2008, Dave Young wrote:
+static int __spi_master_match(struct device *dev, void *data)
+{
+ struct spi_master *m;
+ u16 *bus_num = (u16 *)data;
That's void *data so u16 *bus_num = data is preferred.
--
To unsubscribe from this list: send the line unsubscribe
On Jan 22, 2008 2:56 PM, David Brownell [EMAIL PROTECTED] wrote:
On Monday 21 January 2008, Dave Young wrote:
+static int __spi_master_match(struct device *dev, void *data)
+{
+struct spi_master *m;
+u16 *bus_num = (u16 *)data;
That's void *data so u16 *bus_num = data is preferred.
On Jan 21, 2008 23:17 -0500, [EMAIL PROTECTED] wrote:
On Tue, 22 Jan 2008 14:38:30 +1100, David Chinner said:
Perhaps instead of swapping immediately, a SIGLOWMEM could be sent
to a processes that aren't masking the signal followed by a short
grace period to allow the processes to free up
On Jan 22, 2008 14:38 +1100, David Chinner wrote:
On Mon, Jan 21, 2008 at 04:00:41PM -0700, Andreas Dilger wrote:
I discussed this with Ted at one point also. This is a generic problem,
not just for readahead, because fsck can run multiple e2fsck in parallel
and in case of many large
Convert to use the class iteration api.
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/spi/spi.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff -upr linux/drivers/spi/spi.c linux.new/drivers/spi/spi.c
--- linux/drivers/spi/spi.c 2008-01-22
On Mon, Jan 21, 2008 at 10:24:17PM -0800, David Brownell wrote:
On Monday 21 January 2008, Dave Young wrote:
+/**
+ * class_for_each_device - device iterator
+ * @class: the class we're iterating
+ * @data: data for the callback
+ * @fn: function to be called for each device
+ *
On Tuesday 22 January 2008 10:57:03 Linus Torvalds wrote:
On Tue, 22 Jan 2008, Rusty Russell wrote:
Attempt to create callbacks which take unsigned long as well as
correct pointer types.
I bow down before you.
I thought I had done some rather horrible things with gcc built-ins and
On 22-01-2008 01:55, Dave Young wrote:
...
Hi, thanks your effort. Now I think we should stop this thread and
waiting the class_device going away :)
Sure! But, if you change your mind I'm interested in this subject.
Thanks,
Jarek P.
--
To unsubscribe from this list: send the line unsubscribe
On Monday 21 January 2008, Dave Young wrote:
Convert to use the class iteration api.
Signed-off-by: Dave Young [EMAIL PROTECTED]
Ack.
---
drivers/spi/spi.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff -upr linux/drivers/spi/spi.c
Hi, Matthew,
On Fri, 2008-01-18 at 09:42 +0800, Matthew Garrett wrote:
On Fri, Jan 18, 2008 at 09:31:40AM +0800, Zhang Rui wrote:
Just like I don't think lcd should be used for ACPI thermal
management
before I saw it is listed in _TZD and intel_menlow requires to
throttle
it when
801 - 876 of 876 matches
Mail list logo