linux-kernel mailing list

FromSubjectsort iconDate
Linus Torvalds
Linux 2.6.26-rc9
Ok, the last -rc obviously wasn't the last one after all, since here's a new one. Enough changes that we needed another -rc, and the regression list isn't emptying fast enough either (probably because a number of people, including reporters, are vacationing). But this should in fact close a number of entries, so it's not all doom and gloom. The actual bulk of this all is a new UVC video driver for the standard USB Video Class specification. It's a new driver, so shouldn't cause any regre...
Jul 5, 7:15 pm 2008
Grant Coady
Re: Linux 2.6.26-rc9
Noticed the stale LATEST-IS-* entries no longer being removed at: http://www.kernel.org/pub/linux/kernel/v2.6/testing/?C=N;O=A ... ChangeLog-2.6.26-rc8 25-Jun-2008 02:14 56K LATEST-IS-2.6.26-rc3 18-May-2008 21:46 0 LATEST-IS-2.6.26-rc4 26-May-2008 18:17 0 LATEST-IS-2.6.26-rc5 05-Jun-2008 03:17 0 LATEST-IS-2.6.26-rc6 12-Jun-2008 21:45 0 LATEST-IS-2.6.26-rc7 20-Jun-2008 23:44 0 LATEST-IS-2.6.26-rc8 25...
Jul 5, 7:36 pm 2008
Pierre Ossman
[PATCH] pxamci: fix byte aligned DMA transfers
From: Philipp Zabel <philipp.zabel@gmail.com> The pxa27x DMA controller defaults to 64-bit alignment. This caused the SCR reads to fail (and, depending on card type, error out) when card->raw_scr was not aligned on a 8-byte boundary. For performance reasons all scatter-gather addresses passed to pxamci_request should be aligned on 8-byte boundaries, but if this can't be guaranteed, byte aligned DMA transfers in the have to be enabled in the controller to get correct behaviour. Signed-...
Jul 5, 7:15 pm 2008
Jon Nelson
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
Here is the boot log from booting my EPoX MF570SLI in nolapic mode. When I boot without nolapic or noapic I get as far as io scheduler cfq registered (default) I can't boot to serial right now. Inspecting /boot/System.map-2.6.22.18-0.2-default Loaded 26669 symbols from /boot/System.map-2.6.22.18-0.2-default. Symbols match kernel version 2.6.22. No module symbols loaded - kernel modules not enabled. klogd 1.4.1, log source = ksyslog started. <5>Linux version 2.6.22.18-0.2-default (...
Jul 5, 6:53 pm 2008
Jon Nelson
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
On Sat, Jul 5, 2008 at 5:53 PM, Jon Nelson I recently tried a bunch of stuff: Things that do not help: 1. adding nolapic_timer 2. adding either of acpi_skip_timer, acpi_use_time_override 3. with or without nolapic, adding acpi_serialize hangs the boot. Additional debugging: 1. adding apic=debug 2. earlyprintk=vga One time, I got far enough to see: Booting Initializing CPU #1 Stuck ?? Inquiring remote #1 ... ... APIC #1 ID: 01000000 ... APIC #1 VERSION: 80050010 ... APIC #1 SPIN: 00...
Jul 5, 7:49 pm 2008
Robert Hancock
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
You are getting this as the next line after that: 0000:00:02.1 EHCI: BIOS handoff failed (BIOS bug ?) 01010001 You might want to try upgrading your BIOS, it seems like the BIOS is not letting go of the USB controller when Linux tries to take over. I don't know if that's related to the problem though. If that doesn't work, I'd try a newer kernel version. --
Jul 5, 7:20 pm 2008
Jon Nelson
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
I completely disabled USB in the BIOS. I get a bit further, but still, a hang. See my other msgs. -- Jon --
Jul 5, 7:50 pm 2008
Jonas Karlsson
[PATCH] make decrypt messages depend on CONFIG_IEEE80211_DEBUG
Here's a corresponding patch for commit 7f3ad8943e2e6336ba229b208be8c7a80730c5d4 but for the old ieee80211 stack, which is still used for, at least, ipw2x00 cards. It will make decrypt and key debug errors depend on CONFIG_IEEE80211_DEBUG. Without this the logs will be filled with debug printouts. -- Jonas Karlsson (please CC me when replying) --- linux-2.6.25.10/net/ieee80211/ieee80211_crypt_ccmp.c.old 2008-07-05 22:36:45.000000000 +0200 +++ linux-2.6.25.10/net/ieee80211/ieee8021...
Jul 5, 5:55 pm 2008
Philipp Zabel
[PATCH] mfd: let asic3 use mem resource instead of bus_shift
The bus_shift parameter in platform_data is not needed as we can tell the driver with the IOMEM_RESOURCE whether the ASIC is located on a 16bit or 32bit memory bus. bus_shift as a configuration parameter is confusing at best because sometimes it means "shift register number left by n bits", sometimes it means "shift 32bit register address right by n bits" (see asic->bus_shift = 2 - pdata->bus_shift ...). The htc-egpio driver uses a more descriptive bus_width parameter, but for drivers wher...
Jul 5, 4:20 pm 2008
Philipp Zabel
[PATCH] mfd: remove DS1WM register definitions from asic3.h
There is a dedicated ds1wm driver, no need to duplicate this information here. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> --- include/linux/mfd/asic3.h | 38 +++----------------------------------- 1 files changed, 3 insertions(+), 35 deletions(-) diff --git a/include/linux/mfd/asic3.h b/include/linux/mfd/asic3.h index 0eae308..8f8c46c 100644 --- a/include/linux/mfd/asic3.h +++ b/include/linux/mfd/asic3.h @@ -265,44 +265,12 @@ struct asic3_platform_data { #define ASIC3_EX...
Jul 5, 4:16 pm 2008
Philipp Zabel
[PATCH] pxamci: fix byte aligned DMA transfers
The pxa27x DMA controller defaults to 64-bit alignment. This caused the SCR reads to fail (and, depending on card type, error out) when card->raw_scr was not aligned on a 8-byte boundary. For performance reasons all scatter-gather addresses passed to pxamci_request should be aligned on 8-byte boundaries, but if this can't be guaranteed, byte aligned DMA transfers in the have to be enabled in the controller to get correct behaviour. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> ...
Jul 5, 4:00 pm 2008
Ingo Molnar
[git pull] softlockup: print a module list on being stuck
Linus, Please pull the "softlockup: print a module list on being stuck" commit from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus this change is already in the Fedora kernel and it already was useful in narrowing down sources of soft lockups. Thanks, Ingo ------------------> Arjan van de Ven (1): softlockup: print a module list on being stuck kernel/softlockup.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ...
Jul 5, 3:31 pm 2008
Ingo Molnar
[git pull] x86 fixes
Linus, Please pull the latest x86 fixes git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-fixes-for-linus Thanks, Ingo ------------------> H. Peter Anvin (1): x86 ACPI: normalize segment descriptor register on resume Rafael J. Wysocki (1): x86 ACPI: fix resume from suspend to RAM on uniprocessor x86-64 arch/x86/kernel/acpi/realmode/wakeup.S | 38 +++++++++++++++++++++++++++++++- arch/x86/kernel/acpi/realmode/wakeup.h | 5 ...
Jul 5, 3:29 pm 2008
Jean Delvare
device/driver binding notification
Hi Greg, hi Kay, In the course of finally making the i2c subsystem comply with the Linux 2.6 device driver model, I am facing an issue which affects many v4l drivers. I'm curious if the core device driver code has something to offer to solve it. Basically, a v4l driver creates an i2c bus, instantiates i2c devices on that bus, and needs i2c chip drivers for these devices. In the past, i2c devices were always bound to a driver by the time the v4l driver knew they existed, so they were directly usa...
Jul 5, 2:54 pm 2008
Robert Hancock
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
It's not the best way to deal with it, more just a workaround, and if it does help it should be reported because it indicates something else is wrong. The main downsides to disabling APIC is that all interrupts will be handled by one core and you'll end up with much more IRQ sharing. Disabling ACPI on modern systems tends to be a bad idea, you'll get no Can you post your dmesg from bootup with the controller/drive detection? --
Jul 5, 2:38 pm 2008
Justin Piszcz
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
Below: [ 0.000000] Linux version 2.6.25.10 (root@p34.internal.lan) (gcc version 4.3.1 (Debian 4.3.1-2) ) #1 SMP Thu Jul 3 04:57:42 EDT 2008 [ 0.000000] Command line: auto BOOT_IMAGE=2.6.25.10-1 ro root=902 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000008f000 (usable) [ 0.000000] BIOS-e820: 000000000008f000 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BI...
Jul 5, 3:28 pm 2008
Robert Hancock
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
So you've got 6 drives in the machine. Intel chipsets normally seem Are you certain that your machine has enough power to run all those drives properly? We've seen in a number of cases that power fluctuations or noise can cause these kinds of errors. --
Jul 5, 7:22 pm 2008
Justin Piszcz
Re: Lots of con-current I/O = resets SATA link? (2.6.25.10)
I have a 650watt PSU (nice antec one) and the power draw of the box is ~148watts w/ veliciraptors, ~250 when fully load all 4 cores + all 12 disks writing. I have turned off the irqbalance daemon and I am going to see if the problem re-occurs. Justin. --
Jul 5, 7:24 pm 2008
Bartlomiej Zolnierki...
[git patches] IDE fixes
Hi, Few fixes for code which handles unregistering IDE ports. Linus, please pull from: master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/ to receive the following updates: drivers/ide/ide-probe.c | 2 -- drivers/ide/ide.c | 24 ++++++++---------------- 2 files changed, 8 insertions(+), 18 deletions(-) Bartlomiej Zolnierkiewicz (3): ide: fix hwif->gendev refcounting ide: ide_unregister() warm-plug bugfix ide: ide_unregister() locking bu...
Jul 5, 2:38 pm 2008
Theodore Ts'o
[PATCH 08/52] ext4: miscellaneous error checks and coding cl...
From: Shen Feng <shen@cn.fujitsu.com> ext4_mb_seq_history_open(): check if sbi->s_mb_history is NULL ext4_mb_history_init(): replace kmalloc and memset with kzalloc ext4_mb_init_backend(): remove memset since kzalloc is used ext4_mb_init(): the return value of ext4_mb_init_backend is int, but i is unsigned, replace it with a new int variable. Signed-off-by: Shen Feng <shen@cn.fujitsu.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: M...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 09/52] ext4: remove double definitions of xattr macros
From: Shen Feng <shen@cn.fujitsu.com> remove the definitions of macros XATTR_TRUSTED_PREFIX and XATTR_USER_PREFIX since they are defined in linux/xattr.h Signed-off-by: Shen Feng <shen@cn.fujitsu.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/xattr_trusted.c | 4 +--- fs/ext4/xattr_user.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/fs/ext4/xattr_trusted.c b/fs/ext4/xatt...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 10/52] ext4: Rename read_block_bitmap() to ext4_read_...
Since this a non-static function, make it be ext4 specific to avoid conflicts with potentially other filesystems. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/balloc.c | 12 ++++++------ fs/ext4/group.h | 2 +- fs/ext4/ialloc.c | 2 +- fs/ext4/mballoc.c | 10 +++++----- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index c29d774..ba41123 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c @@ -295,7 +29...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 11/52] ext4: Remove unused variable from ext4_show_op...
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/super.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index cb96f12..d9d12c1 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -671,7 +671,6 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs) unsigned long def_mount_opts; struct super_block *sb = vfs->mnt_sb; struct ext4_sb_info *sbi = EXT4_SB(sb); - journal_t *journal = sbi->s_j...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 12/52] jbd2: Add commit time into the commit block
Carlo Wood has demonstrated that it's possible to recover deleted files from the journal. Something that will make this easier is if we can put the time of the commit into commit block. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/jbd2/commit.c | 3 +++ include/linux/jbd2.h | 2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index a2ed72f..92b6ac3 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -112,6 +1...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 13/52] ext4: New inode allocation for FLEX_BG meta-da...
From: Jose R. Santos <jrs@us.ibm.com> This patch mostly controls the way inode are allocated in order to make ialloc aware of flex_bg block group grouping. It achieves this by bypassing the Orlov allocator when block group meta-data are packed toghether through mke2fs. Since the impact on the block allocator is minimal, this patch should have little or no effect on other block allocation algorithms. By controlling the inode allocation, it can basically control where the initial search for n...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 14/52] jbd2: fix race between jbd2_journal_try_to_fre...
From: Mingming Cao <cmm@us.ibm.com> journal_try_to_free_buffers() could race with jbd commit transaction when the later is holding the buffer reference while waiting for the data buffer to flush to disk. If the caller of journal_try_to_free_buffers() request tries hard to release the buffers, it will treat the failure as error and return back to the caller. We have seen the directo IO failed due to this race. Some of the caller of releasepage() also expecting the buffer to be dropped when pa...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 15/52] ext4: remove redundant code in ext4_fill_super()
From: Li Zefan <lizf@cn.fujitsu.com> The previous sb_min_blocksize() has already set the block size. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/super.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 0d560fc..b1166a9 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -1899,11 +1899,6 @@ sta...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 16/52] ext4: remove quota allocation when ext4_mb_new...
From: Shen Feng <shen@cn.fujitsu.com> Quota allocation is not removed when ext4_mb_new_blocks calls kmem_cache_alloc failed. Also make sure the allocation context is freed on the error path. Signed-off-by: Shen Feng <shen@cn.fujitsu.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/mballoc.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 17/52] ext4: Update i_disksize properly when allocati...
From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> When allocating unitialized space at the end of file which had been preallocated with the FALLOC_FL_KEEP_SIZE option, the file size is not updated at that time. But the later we are not updating the file size when writing to that preallocated space. These changes are for code correctness. This patch allows us to update the i_disksize at the write_end() callback of filesystem properly. Signed-off-by: Aneesh Kumar K.V <aneesh.kum...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 18/52] ext4: return error when calling ext4_ext_split...
From: Shen Feng <shen@cn.fujitsu.com> ext4_ext_create_new_leaf must return error when its calling to ext4_ext_split failed. Signed-off-by: Shen Feng <shen@cn.fujitsu.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/extents.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c inde...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 19/52] ext4: Make ext4_ext_find_extent fills ext_path...
From: Shen Feng <shen@cn.fujitsu.com> When pos=0 or depth, the fields of ext4_ext_path is are not completely filled. This patch also removes some unnecessary code. Signed-off-by: Shen Feng <shen@cn.fujitsu.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/extents.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index bc17ed7..3e966da 100644 ...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 20/52] ext4: Fix ext4_ext_journal_restart() to reflec...
From: Shen Feng <shen@cn.fujitsu.com> Fix ext4_ext_journal_restart() so it returns any errors reported by ext4_journal_extend() and ext4_journal_restart(). Signed-off-by: Shen Feng <shen@cn.fujitsu.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/extents.c | 19 ++++++++----------- 1 files changed, 8 insertions(+), 11 deletions(-) diff -...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 21/52] ext4: cleanup never-used magic numbers from ht...
From: Li Zefan <lizf@cn.fujitsu.com> dx_root_limit() will had some dead code which forced it to always return 20, and dx_node_limit to always return 22 for debugging purposes. Remove it. Acked-by: Andreas Dilger <adilger@sun.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/namei.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/f...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 22/52] ext4: Fix sparse warning
From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/balloc.c | 2 +- fs/ext4/super.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index 0b2b754..6dcbec9 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c @@ -47,7 +47,7 @@ static int ext4_block_in_group(struct super_block *sb,...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 23/52] ext4: fix ext4_init_block_bitmap() for metablo...
From: Akinobu Mita <akinobu.mita@gmail.com> When meta_bg feature is enabled and s_first_meta_bg != 0, ext4_init_block_bitmap() miscalculates the number of block used by the group descriptor table (0 or 1 for metablock block group) This patch fixes this by using ext4_bg_num_gdb() Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Stephen Tweedie <sct@redhat.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 24/52] ext4: Use inode preallocation with -o noextents
From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> When mballoc is enabled, block allocation for old block-based files are allocated using mballoc allocator instead of old block-based allocator. The old ext3 block reservation is turned off when mballoc is turned on. However, the in-core preallocation is not enabled for block-based/ non-extent based file block allocation. This result in performance regression, as now we don't have "reservation" ore in-core preallocation to prevent int...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 25/52] ext4: cleanup block allocator
From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Move the code related to block allocation to a single function and add helper funtions to differient allocation for data and meta data blocks Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/balloc.c | 127 +++++++++++++++++++++++++++++++---------------------- fs/ext4/ext4.h | 2 +- fs/e...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 26/52] ext4: call blkdev_issue_flush on fsync
From: Eric Sandeen <sandeen@redhat.com> To ensure that bits are truly on-disk after an fsync, we should call blkdev_issue_flush if barriers are supported. Inspired by an old thread on barriers, by reiserfs & xfs which do the same, and by a patch SuSE ships with their kernel Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/fsync.c | 4 ++++ 1 files changed, 4...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 27/52] ext4: mballoc avoid use root reserved blocks f...
From: Mingming Cao <cmm@us.ibm.com> mballoc allocation missed check for blocks reserved for root users. Add ext4_has_free_blocks() check before allocation. Also modified ext4_has_free_blocks() to support multiple block allocation request. Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/balloc.c | 51 +++++++++++++++++++++++++++++++++------------------ fs/ext4/ext4.h | 2 ++ fs/ext4/mballoc.c | 7 ++++++- 3 f...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 28/52] ext4: Set journal pointer to NULL when journal...
From: Jan Kara <jack@suse.cz> Set sbi->s_journal to NULL after we call journal_destroy(). This will be later needed because after journal_destroy() is called, ext4_clear_inode() can still be called for some inodes (e.g. root inode) and we'll need to detect there that journal doesn't exists anymore. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/super.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 29/52] ext4: use atomic functions to set bh_state
From: Eric Sandeen <sandeen@redhat.com> Use the BUFFER_FNS functions (set_buffer_foo) to set buffer head state atomically instead of nonatomic __set_bit(). Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/extents.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 555155d..bb36a28 100644 --- a...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 30/52] ext4: Add missing unlock to an error path in e...
From: Jan Kara <jack@suse.cz> Add missing unlock of i_mutex in the error path of ext4_quota_write(). Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/ext4/super.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index e239af3..1b330cd 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -3390,8 +3390,10 @@ static ssiz...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 31/52] ext4: fix online resize with mballoc
From: Frederic Bohe <frederic.bohe@bull.net> Update group infos when updating a group's descriptor. Add group infos when adding a group's descriptor. Refresh cache pages used by mb_alloc when changes occur. This will probably need modifications when META_BG resizing will be allowed. Signed-off-by: Frederic Bohe <frederic.bohe@bull.net> Signed-off-by: Mingming Cao <cmm@us.ibm.com> --- fs/ext4/ext4.h | 4 + fs/ext4/mballoc.c | 234 ++++++++++++++++++++++++++++++++++++++++...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 32/52] ext4: Documentation updates.
From: Jose R. Santos <jrs@us.ibm.com> Some of the information in Documentation/filesystems/ext4.txt is out of date and in need of an update. Signed-off-by: Jose R. Santos <jrs@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- Documentation/filesystems/ext4.txt | 102 ++++++++++++++++++++--------------- 1 files changed, 58 insertions(+), 44 deletions(-) diff --git a/Documentation/filesystems/ext4.txt b/Documentation/filesystems/ext4.txt index 0c5086d..77ed8fe 1...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 33/52] ext4: Use page_mkwrite vma_operations to get m...
From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> We would like to get notified when we are doing a write on mmap section. This is needed with respect to preallocated area. We split the preallocated area into initialzed extent and uninitialzed extent in the call back. This let us handle ENOSPC better. Otherwise we get ENOSPC in the writepage and that would result in data loss. The changes are also needed to handle ENOSPC when writing to an mmap section of files with holes. Acked-by: ...
Jul 5, 1:35 pm 2008
Theodore Ts'o
[PATCH 34/52] vfs: Move mark_inode_dirty() from under page l...
From: Jan Kara <jack@suse.cz> There's no need to call mark_inode_dirty() under page lock in generic_write_end(). It unnecessarily makes hold time of page lock longer and more importantly it forces locking order of page lock and transaction start for journaling filesystems. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- fs/buffer.c | 12 +++++++++++- 1 files ch...
Jul 5, 1:36 pm 2008
Theodore Ts'o
[PATCH 35/52] ext4: Invert the locking order of page_lock an...
From: Jan Kara <jack@suse.cz> This changes are needed to support data=ordered mode handling via inodes. This enables us to get rid of the journal heads and buffer heads for data buffers in the ordered mode. With the changes, during tranasaction commit we writeout the inode pages using the writepages()/writepage(). That implies we take page lock during transaction commit. This can cause a deadlock with the locking order page_lock -> jbd2_journal_start, since the jbd2_journal_start can wai...
Jul 5, 1:36 pm 2008
Theodore Ts'o
[PATCH 36/52] ext4: Fix lock inversion in ext4_ext_truncate()
We cannot call ext4_orphan_add() from under i_data_sem because that causes lock inversion between i_data_sem and superblock lock: -> #1 (&type->s_lock_key#7){--..}: [<ffffffff8024dbcf>] __lock_acquire+0xc3c/0xe20 [<ffffffff8024e052>] lock_acquire+0x53/0x6d [<ffffffff80503ae2>] mutex_lock_nested+0xd6/0x27d [<ffffffff8028a856>] lock_super+0x22/0x24 [<ffffffff803105e1>] ext4_orphan_add+0x29/0x17d [<ffffffff8031a538&...
Jul 5, 1:36 pm 2008
Theodore Ts'o
[PATCH 37/52] vfs: export filemap_fdatawrite_range()
From: Jan Kara <jack@suse.cz> Make filemap_fdatawrite_range() function public, so that it can later be used in ordered mode rewrite by JBD/JBD2. Signed-off-by: Jan Kara <jack@suse.cz> --- include/linux/fs.h | 2 ++ mm/filemap.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index d490779..d06f8e2 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1741,6 +1741,8 @@ extern int wait_on_page_writ...
Jul 5, 1:36 pm 2008
Theodore Ts'o
[PATCH 38/52] jbd2: Implement data=ordered mode handling via...
From: Jan Kara <jack@suse.cz> This patch adds necessary framework into JBD2 to be able to track inodes with each transaction and write-out their dirty data during transaction commit time. This new ordered mode brings all sorts of advantages such as possibility to get rid of journal heads and buffer heads for data buffers in ordered mode, better ordering of writes on transaction commit, simplification of some JBD code, no more anonymous pages when truncate of data being committed happens. ...
Jul 5, 1:36 pm 2008
previous daytodaynext day
July 4, 2008July 5, 2008July 6, 2008