[PATCH 47/49] jbd2: Mark jbd2 slabs as SLAB_TEMPORARY

2008-01-21 Thread Theodore Ts'o
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

[PATCH 25/49] jbd2: Remove printk from J_ASSERT to preserve registers during BUG

2008-01-21 Thread Theodore Ts'o
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

[PATCH 04/49] ext4 extents: remove unneeded casts

2008-01-21 Thread Theodore Ts'o
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]

Re: [PATCH][RESEND] sh: termios ioctl definitions

2008-01-21 Thread Andrew Morton
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

[PATCH 09/49] ext4: Rename i_file_acl to i_file_acl_lo

2008-01-21 Thread Theodore Ts'o
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 ++--

[PATCH 28/49] ext4: remove unused code from ext4_find_entry()

2008-01-21 Thread Theodore Ts'o
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 |

[PATCH 45/49] ext4: Use the ext4_ext_actual_len() helper function

2008-01-21 Thread Theodore Ts'o
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:

[PATCH 42/49] ext4: Enable the multiblock allocator by default

2008-01-21 Thread Theodore Ts'o
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

[PATCH 27/49] ext4: Check for the correct error return from

2008-01-21 Thread Theodore Ts'o
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

[PATCH 19/49] ext4: Return after ext4_error in case of failures

2008-01-21 Thread Theodore Ts'o
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]

[PATCH 16/49] ext2: Fix the max file size for ext2 file system.

2008-01-21 Thread Theodore Ts'o
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

[PATCH 17/49] ext3: Fix the max file size for ext3 file system.

2008-01-21 Thread Theodore Ts'o
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

[PATCH 23/49] Add buffer head related helper functions

2008-01-21 Thread Theodore Ts'o
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 +

[PATCH 31/49] ext4: Take read lock during overwrite case.

2008-01-21 Thread Theodore Ts'o
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

[PATCH 14/49] ext4: export iov_shorten from kernel for ext4's use

2008-01-21 Thread Theodore Ts'o
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

[PATCH 21/49] ext4: fix oops on corrupted ext4 mount

2008-01-21 Thread Theodore Ts'o
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

[PATCH 26/49] jbd2: Fix assertion failure in fs/jbd2/checkpoint.c

2008-01-21 Thread Theodore Ts'o
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

[PATCH 07/49] ext4: Introduce ext4_update_*_feature

2008-01-21 Thread Theodore Ts'o
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 +++

[PATCH 08/49] ext4: Fix sparse warnings.

2008-01-21 Thread Theodore Ts'o
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 +++

[PATCH 12/49] ext4: Support large files

2008-01-21 Thread Theodore Ts'o
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

[PATCH 37/49] ext4: Fix ext4_show_options to show the correct mount options.

2008-01-21 Thread Theodore Ts'o
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

[PATCH 24/49] ext4: add block bitmap validation

2008-01-21 Thread Theodore Ts'o
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.

[PATCH 46/49] jbd2: add lockdep support

2008-01-21 Thread Theodore Ts'o
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

[PATCH 10/49] ext4: Rename i_dir_acl to i_size_high

2008-01-21 Thread Theodore Ts'o
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

[PATCH 29/49] ext4: Make ext4_get_blocks_wrap take the truncate_mutex early.

2008-01-21 Thread Theodore Ts'o
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

[PATCH 11/49] ext4: Add support for 48 bit inode i_blocks.

2008-01-21 Thread Theodore Ts'o
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

[PATCH 30/49] ext4: Convert truncate_mutex to read write semaphore.

2008-01-21 Thread Theodore Ts'o
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

[PATCH 36/49] ext4: Add EXT4_IOC_MIGRATE ioctl

2008-01-21 Thread Theodore Ts'o
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 |

[PATCH 13/49] ext4: different maxbytes functions for bitmap extent files

2008-01-21 Thread Theodore Ts'o
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

[PATCH 05/49] ext4: add ext4_group_t, and change all group variables to this type.

2008-01-21 Thread Theodore Ts'o
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 --

[PATCH 22/49] ext4: Change the default behaviour on error

2008-01-21 Thread Theodore Ts'o
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

[PATCH 02/49] ext4: Avoid rec_len overflow with 64KB block size

2008-01-21 Thread Theodore Ts'o
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

[PATCH 18/49] ext4: sync up block group descriptor with e2fsprogs.

2008-01-21 Thread Theodore Ts'o
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:

[PATCH 33/49] ext4: Add the journal checksum feature

2008-01-21 Thread Theodore Ts'o
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.

[PATCH 38/49] ext4: fix up EXT4FS_DEBUG builds

2008-01-21 Thread Theodore Ts'o
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 +++---

[PATCH 34/49] vfs: Add 64 bit i_version support

2008-01-21 Thread Theodore Ts'o
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

[PATCH 43/49] ext4: Check for return value from sb_set_blocksize

2008-01-21 Thread Theodore Ts'o
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

[PATCH 03/49] ext4: Introduce ext4_lblk_t

2008-01-21 Thread Theodore Ts'o
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

[PATCH 35/49] ext4: Add inode version support in ext4

2008-01-21 Thread Theodore Ts'o
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

[PATCH 32/49] jbd2: jbd2 stats through procfs

2008-01-21 Thread Theodore Ts'o
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.

[PATCH 06/49] ext4: fixes block group number being set to a negative value

2008-01-21 Thread Theodore Ts'o
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

Re: [PATCH] Use separate sections for __dev/__cpu/__mem code/data

2008-01-21 Thread Sam Ravnborg
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,

Re: [RFC] Parallelize IO for e2fsck

2008-01-21 Thread David Chinner
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

[PATCH 49/49] jbd2: sparse pointer use of zero as null

2008-01-21 Thread Theodore Ts'o
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

[PATCH] ARM: Ignore memory tags with invalid data

2008-01-21 Thread Corey Minyard
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

Re: 2.6.24-rc8-mm1 : net tcp_input.c warnings

2008-01-21 Thread Dave Young
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

Re: The SMP alternatives code breaks exception fixup?

2008-01-21 Thread Andi Kleen
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

Re: 2.6.24 regression: pan hanging unkilleable and un-straceable

2008-01-21 Thread Nick Piggin
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.

Re: 2.6.22.16 MD raid1 doesn't mark removed disk faulty, MD thread goes UN

2008-01-21 Thread Mike Snitzer
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

Re: [PATCH 0/12] ide-floppy redux v2.5

2008-01-21 Thread Borislav Petkov
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

Re: sysfs network namespace support - was this patch set forgotten ?

2008-01-21 Thread Greg KH
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

Re: 2.6.24 regression: pan hanging unkilleable and un-straceable

2008-01-21 Thread Mike Galbraith
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

Re: questions on NAPI processing latency and dropped network packets

2008-01-21 Thread Eric Dumazet
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

[PATCH 1/6] driver-core : add class iteration api

2008-01-21 Thread Dave Young
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 |

[PATCH 2/6] ieee1394 : use class iteration api

2008-01-21 Thread Dave Young
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

Re: [PATCH] rcu: fix section mismatch

2008-01-21 Thread Sam Ravnborg
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

[PATCHSET] driver core : add class iteration api

2008-01-21 Thread Dave Young
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

[PATCH 3/6] power supply : use class iteration api

2008-01-21 Thread Dave Young
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

[PATCH 4/6] rtc : use class iteration api

2008-01-21 Thread Dave Young
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 ---

[PATCH 5/6] scsi : use class iteration api

2008-01-21 Thread Dave Young
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

[PATCH 6/6] spi : use class iteration api

2008-01-21 Thread Dave Young
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

Re: [PATCH 1/6] driver-core : add class iteration api

2008-01-21 Thread Dave Young
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] --

Re: [PATCH 1/6] driver-core : add class iteration api

2008-01-21 Thread David Brownell
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

Re: [PATCH] bluetooth : move children of connection device to NULL before connection down

2008-01-21 Thread David Miller
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

Re: [PATCH 1/6] driver-core : add class iteration api

2008-01-21 Thread Dave Young
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

Re: [PATCH] bluetooth : move children of connection device to NULL before connection down

2008-01-21 Thread Marcel Holtmann
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

Re: [PATCH 6/6] spi : use class iteration api

2008-01-21 Thread David Brownell
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

Re: [PATCH 6/6] spi : use class iteration api

2008-01-21 Thread Dave Young
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.

Re: [RFC] Parallelize IO for e2fsck

2008-01-21 Thread Andreas Dilger
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

Re: [RFC] Parallelize IO for e2fsck

2008-01-21 Thread Andreas Dilger
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

Re: [PATCH 6/6] spi : use class iteration api

2008-01-21 Thread Dave Young
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

Re: [PATCH 1/6] driver-core : add class iteration api

2008-01-21 Thread Dave Young
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 + *

Re: [PATCH 0/6] RFC: Typesafe callbacks

2008-01-21 Thread Rusty Russell
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

Re: [PATCH 7/7] driver-core : convert semaphore to mutex in struct class

2008-01-21 Thread Jarek Poplawski
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

Re: [PATCH 6/6] spi : use class iteration api

2008-01-21 Thread David Brownell
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

Re: [PATCH 6/10] ACPI: register ACPI Video LCD as generic thermal cooling device

2008-01-21 Thread Zhang Rui
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

<    4   5   6   7   8   9