Li-nux 2.6.27.19 2.6.28.7
Subsystems (15)
Og here.
Greg run off to big hill with white stuff.
He leave corn bits and paper.
Corn bits have many num-bers.
2 corns.
Num-ber on one corn is 2.6.27.19.
Num-ber on one corn is 2.6.28.7.
Paper have 1 wurd.
Paper say "Update!"
Og no no what paper meens.
Corn only good for wood-chuck. Why Greg care about corn?
Og con-fus-ed.
Og done.
Re: Li-nux 2.6.27.19
2.6.27.19:
Makefile | 2 arch/powerpc/kernel/align.c | 7 arch/x86/mm/pageattr.c | 14 + drivers/ata/pata_via.c | 4 drivers/ata/sata_nv.c | 14 - drivers/bluetooth/btsdio.c | 3 drivers/net/3c505.c | 26 + drivers/pci/intel-iommu.c | 13 drivers/scsi/libiscsi.c | 1 fs/ext2/super.c | 9 fs/ext4/balloc.c | 156 +++++++++++ fs/ext4/ext4.h | 41 ++- fs/ext4/ext4_sb.h | 4 fs/ext4/hash.c | 77 ++++- fs/ext4/ialloc.c | 166 +++++++----- fs/ext4/inode.c | 59 +++- fs/ext4/mballoc.c | 595 ++++++++++++++++++++++++++++++++------------ fs/ext4/mballoc.h | 51 +-- fs/ext4/namei.c | 28 +- fs/ext4/resize.c | 61 +--- fs/ext4/super.c | 46 ++- fs/jbd2/commit.c | 27 + include/linux/jbd2.h | 4 include/linux/pci_ids.h | 1 include/linux/pid.h | 18 + ipc/mqueue.c | 3 26 files changed, 1068 insertions(+), 362 deletions(-)
Aneesh Kumar K.V (14):
ext4: Fix the delalloc writepages to allocate blocks at the right offset.
ext4: avoid ext4_error when mounting a fs with a single bg
ext4: Don't overwrite allocation_context ac_status
ext4: Add blocks added during resize to bitmap
ext4: Use EXT4_GROUP_INFO_NEED_INIT_BIT during resize
ext4: cleanup mballoc header files
ext4: Use an rbtree for tracking blocks freed during transaction.
ext4: don't use blocks freed but not yet committed in buddy cache init
ext4: Fix race between read_block_bitmap() and mark_diskspace_used()
ext4: Fix the race between read_inode_bitmap() and ext4_new_inode()
ext4: Use new buffer_head flag to check uninit group bitmaps initialization
ext4: mark the blocks/inode bitmap beyond end of group as used
ext4: Don't allow new groups to be added during block allocation
ext4: Init the complete page while building buddy cache
Carsten Otte (1):
ext2/xip: refuse to change xip flag during remount with busy inodes
David Woodhouse (1):
Fix Intel IOMMU write-buffer flushing
Eric W. Biederman (1):
pid: implement ns_of_pid
Greg Kroah-Hartman (1):
Linux 2.6.27.19
Jeremy Fitzhardinge (1):
x86/cpa: make sure cpa is safe to call in lazy mmu mode
Mark Fasheh (1):
jbd2: Add BH_JBDPrivateStart
Michael Neuling (1):
powerpc/vsx: Fix VSX alignment handler for regs 32-63
Mike Christie (1):
SCSI: libiscsi: fix iscsi pool leak
Roel Kluin (1):
3c505: do not set pcb->data.raw beyond its size
Sergio Luis (1):
btsdio: free sk_buff with kfree_skb
Sukadev Bhattiprolu (1):
mqueue: fix si_pid value in mqueue do_notify()
Tejun Heo (1):
sata_nv: give up hardreset on nf2
Theodore Ts'o (8):
ext4: Add support for non-native signed/unsigned htree hash algorithms
ext4: tone down ext4_da_writepages warnings
jbd2: Add barrier not supported test to journal_wait_on_commit_record
ext4: Add sanity checks for the superblock before mounting the filesystem
ext4: only use i_size_high for regular files
ext4: Add sanity check to make_indexed_dir
jbd2: On a __journal_expect() assertion failure printk "JBD2", not "EXT3-fs"
ext4: Initialize the new group descriptor when resizing the filesystem
Tomas Winkler (1):
Bluetooth: Fix TX error path in btsdio driver
Yasunori Goto (1):
ext4: Widen type of ext4_sb_info.s_mb_maxs[]
Zlatko Calusic (1):
Add support for VT6415 PCIE PATA IDE Host Controller
Re: Li-nux 2.6.27.19
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 27 -EXTRAVERSION = .18 +EXTRAVERSION = .19 NAME = Trembling Tortoise # *DOCUMENTATION*
arch/powerpc/kernel/align.c +6 -1
@@ -646,11 +646,16 @@ static int emulate_vsx(unsigned char __user *addr, unsigned int reg, unsigned int areg, struct pt_regs *regs, unsigned int flags, unsigned int length) { - char *ptr = (char *) ¤t->thread.TS_FPR(reg); + char *ptr;int ret =0 ;flush_vsx_to_thread (current); +if (reg <32 ) + ptr = (char *) ¤t->thread.TS_FPR (reg); +else + ptr = (char *) ¤t->thread.vr[reg -32 ]; +if (flags &ST ) ret =__copy_to_user (addr, ptr, length);else {
arch/x86/mm/pageattr.c +14 -0
@@ -619,6 +619,13 @@ static int __change_page_attr(struct cpa_data *cpa, int primary)unsigned int level;pte_t *kpte, old_pte; +/* +* If we're called with lazy mmu updates enabled, the +* in-memory pte state may be stale. Flush pending updates to +* bring them up to date. +*/ +arch_flush_lazy_mmu_mode (); + repeat: kpte =lookup_address (address, &level);if (!kpte)
@@ -836,6 +843,13 @@ static int change_page_attr_set_clr(unsigned long addr, int numpages,else cpa_flush_all (cache); +/* +* If we've been called with lazy mmu updates enabled, then +* make sure that everything gets flushed out before we +* return. +*/ +arch_flush_lazy_mmu_mode (); + out:cpa_fill_pool (NULL );
drivers/ata/pata_via.c +3 -1
@@ -111,7 +111,8 @@ static const struct via_isa_bridge { { "vt8237s", PCI_DEVICE_ID_VIA_8237S, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "cx700", PCI_DEVICE_ID_VIA_CX700, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_SATA_PATA }, - { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES}, + { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES }, + { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES }, { "vt8237a", PCI_DEVICE_ID_VIA_8237A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
@@ -594,6 +595,7 @@ static int via_reinit_one(struct pci_dev *pdev)#endif static const struct pci_device_id via[] = { + {PCI_VDEVICE (VIA ,0x0415 ), }, {PCI_VDEVICE (VIA ,0x0571 ), }, {PCI_VDEVICE (VIA ,0x0581 ), }, {PCI_VDEVICE (VIA ,0x1571 ), },
drivers/ata/sata_nv.c +8 -6
@@ -421,19 +421,21 @@ static struct ata_port_operations nv_generic_ops = { .hardreset = ATA_OP_NULL, }; -/* OSDL bz3352 reports that nf2/3 controllers can't determine device -* signature reliably. Also, the following thread reports detection -* failure on cold boot with the standard debouncing timing. +/* nf2 is ripe with hardreset related problems. +* +* kernel bz#3352 reports nf2/3 controllers can't determine device +* signature reliably. The following thread reports detection failure +* on cold boot with the standard debouncing timing. * * http://thread.gmane.org/gmane.linux.ide/34098 * -* Debounce with hotplug timing and request follow-up SRST. +* And bz#12176 reports that hardreset simply doesn't work on nf2. +* Give up on it and just don't do hardreset. */ static struct ata_port_operations nv_nf2_ops = { - .inherits = &nv_common_ops, + .inherits = &nv_generic_ops, .freeze = nv_nf2_freeze, .thaw = nv_nf2_thaw, - .hardreset = nv_noclassify_hardreset, };/* For initial probing after boot and hot plugging, hardreset mostly
drivers/bluetooth/btsdio.c +2 -1
@@ -91,6 +91,7 @@ static int btsdio_tx_packet(struct btsdio_data *data, struct sk_buff *skb) err =sdio_writesb (data->func,REG_TDAT , skb->data, skb->len);if (err <0 ) { +skb_pull (skb,4 );sdio_writeb (data->func,0x01 ,REG_PC_WRT ,NULL );return err; }
@@ -152,7 +153,7 @@ static int btsdio_rx_packet(struct btsdio_data *data) err =sdio_readsb (data->func, skb->data,REG_RDAT , len -4 );if (err <0 ) { -kfree (skb); +kfree_skb (skb);return err; }
drivers/net/3c505.c +16 -10
@@ -493,21 +493,27 @@ static bool receive_pcb(struct net_device *dev, pcb_struct * pcb) }/* read the data */ spin_lock_irqsave (&adapter->lock, flags); - i =0 ; -do { - j =0 ; -while (((stat =get_status (dev->base_addr)) &ACRF ) ==0 && j++ <20000 ); - pcb->data.raw[i++] =inb_command (dev->base_addr); -if (i >MAX_PCB_DATA ) -INVALID_PCB_MSG (i); - }while ((stat &ASF_PCB_MASK ) !=ASF_PCB_END && j <20000 ); +for (i =0 ; i <MAX_PCB_DATA ; i++) { +for (j =0 ; j <20000 ; j++) { + stat =get_status (dev->base_addr); +if (stat &ACRF ) +break ; + } + pcb->data.raw[i] =inb_command (dev->base_addr); +if ((stat &ASF_PCB_MASK ) ==ASF_PCB_END || j >=20000 ) +break ; + }spin_unlock_irqrestore (&adapter->lock, flags); +if (i >=MAX_PCB_DATA ) { +INVALID_PCB_MSG (i); +return false; + }if (j >=20000 ) {TIMEOUT_MSG (__LINE__);return false; } -/* woops, the last "data" byte was really the length! */ - total_length = pcb->data.raw[--i]; +/* the last "data" byte was really the length! */ + total_length = pcb->data.raw[i];/* safety check total length vs data length */ if (total_length != (pcb->length +2 )) {
drivers/pci/intel-iommu.c +12 -1
@@ -72,6 +72,8 @@ static struct deferred_flush_tables *deferred_flush;/* bitmap for indexing intel_iommus */ static int g_num_of_iommus; +static int rwbf_quirk =0 ; +static DEFINE_SPINLOCK (async_umap_flush_lock);static LIST_HEAD (unmaps_to_do);
@@ -527,7 +529,7 @@ static void iommu_flush_write_buffer(struct intel_iommu *iommu)u32 val;unsigned long flag; -if (!cap_rwbf (iommu->cap)) +if (!rwbf_quirk && !cap_rwbf (iommu->cap))return ; val = iommu->gcmd |DMA_GCMD_WBF ;
@@ -2453,3 +2455,12 @@ int __init intel_iommu_init(void)return 0 ; } +static void __devinit quirk_iommu_rwbf (struct pci_dev *dev) +{ +/* Mobile 4 Series Chipset neglects to set RWBF capability, +but needs it */ +printk (KERN_INFO "DMAR: Forcing write-buffer flush capability\n" ); + rwbf_quirk =1 ; +} + +DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_INTEL ,0x2a40 , quirk_iommu_rwbf);
drivers/scsi/libiscsi.c +1 -0
@@ -1844,6 +1844,7 @@ void iscsi_pool_free(struct iscsi_pool *q)kfree (q->pool[i]);if (q->pool)kfree (q->pool); +kfree (q->queue); }EXPORT_SYMBOL_GPL (iscsi_pool_free);
fs/ext2/super.c +6 -3
@@ -1177,9 +1177,12 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data) es = sbi->s_es;if (((sbi->s_mount_opt &EXT2_MOUNT_XIP ) != (old_mount_opt &EXT2_MOUNT_XIP )) && -invalidate_inodes (sb)) -ext2_warning (sb, __func__,"busy inodes while remounting " \ -"xip remain in cache (no functional problem)" ); +invalidate_inodes (sb)) { +ext2_warning (sb, __func__,"refusing change of xip flag " +"with busy inodes while remounting" ); + sbi->s_mount_opt &= ~EXT2_MOUNT_XIP ; + sbi->s_mount_opt |= old_mount_opt &EXT2_MOUNT_XIP ; + }if ((*flags &MS_RDONLY ) == (sb->s_flags &MS_RDONLY ))return 0 ;if (*flags &MS_RDONLY ) {
fs/ext4/balloc.c +155 -1
185 lines not on this page · raw message
fs/ext4/ext4.h +34 -7
81 lines not on this page · raw message
fs/ext4/ext4_sb.h +3 -1
@@ -56,6 +56,7 @@ struct ext4_sb_info {u32 s_next_generation;u32 s_hash_seed[4 ];int s_def_hash_version; +int s_hash_unsigned;/* 3 if hash should be signed, 0 if not */ struct percpu_counter s_freeblocks_counter;struct percpu_counter s_freeinodes_counter;struct percpu_counter s_dirs_counter;
@@ -102,7 +103,8 @@ struct ext4_sb_info {struct list_head s_committed_transaction;spinlock_t s_md_lock;tid_t s_last_transaction; -unsigned short *s_mb_offsets, *s_mb_maxs; +unsigned short *s_mb_offsets; +unsigned int *s_mb_maxs;/* tunables */ unsigned long s_stripe;
fs/ext4/hash.c +67 -10
126 lines not on this page · raw message
fs/ext4/ialloc.c +107 -59
224 lines not on this page · raw message
fs/ext4/inode.c +51 -8
108 lines not on this page · raw message
fs/ext4/mballoc.c +442 -153
898 lines not on this page · raw message
fs/ext4/mballoc.h +23 -28
106 lines not on this page · raw message
fs/ext4/namei.c +22 -6
@@ -371,6 +371,8 @@ dx_probe(struct dentry *dentry, struct inode *dir, goto fail; } hinfo->hash_version = root->info.hash_version; +if (hinfo->hash_version <=DX_HASH_TEA ) + hinfo->hash_version +=EXT4_SB (dir->i_sb)->s_hash_unsigned; hinfo->seed =EXT4_SB (dir->i_sb)->s_hash_seed;if (dentry)ext4fs_dirhash (dentry->d_name.name, dentry->d_name.len, hinfo);
@@ -640,6 +642,9 @@ int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash, dir = dir_file->f_path.dentry->d_inode;if (!(EXT4_I (dir)->i_flags &EXT4_INDEX_FL )) { hinfo.hash_version =EXT4_SB (dir->i_sb)->s_def_hash_version; +if (hinfo.hash_version <=DX_HASH_TEA ) + hinfo.hash_version += +EXT4_SB (dir->i_sb)->s_hash_unsigned; hinfo.seed =EXT4_SB (dir->i_sb)->s_hash_seed; count =htree_dirblock_to_tree (dir_file, dir,0 , &hinfo, start_hash, start_minor_hash);
@@ -1377,7 +1382,7 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry,struct fake_dirent *fde; blocksize = dir->i_sb->s_blocksize; -dxtrace (printk ("Creating index\n" )); +dxtrace (printk (KERN_DEBUG "Creating index: inode %lu\n" , dir->i_ino)); retval =ext4_journal_get_write_access (handle, bh);if (retval) {ext4_std_error (dir->i_sb, retval);
@@ -1386,6 +1391,20 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry, } root = (struct dx_root *) bh->b_data; +/* The 0th block becomes the root, move the dirents out */ + fde = &root->dotdot; + de = (struct ext4_dir_entry_2 *)((char *)fde + +ext4_rec_len_from_disk (fde->rec_len)); +if ((char *) de >= (((char *) root) + blocksize)) { +ext4_error (dir->i_sb, __func__, +"invalid rec_len for '..' in inode %lu" , + dir->i_ino); +brelse (bh); +return -EIO ; + } + len = ((char *) root) + blocksize - (char *) de; + +/* Allocate new block for the 0th block's dirents */ bh2 =ext4_append (handle, dir, &block, &retval);if (!(bh2)) {brelse (bh);
@@ -1394,11 +1413,6 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry,EXT4_I (dir)->i_flags |=EXT4_INDEX_FL ; data1 = bh2->b_data; -/* The 0th block becomes the root, move the dirents out */ - fde = &root->dotdot; - de = (struct ext4_dir_entry_2 *)((char *)fde + -ext4_rec_len_from_disk (fde->rec_len)); - len = ((char *) root) + blocksize - (char *) de;memcpy (data1, de, len); de = (struct ext4_dir_entry_2 *) data1; top = data1 + len;
@@ -1418,6 +1432,8 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry,/* Initialize as for dx_probe */ hinfo.hash_version = root->info.hash_version; +if (hinfo.hash_version <=DX_HASH_TEA ) + hinfo.hash_version +=EXT4_SB (dir->i_sb)->s_hash_unsigned; hinfo.seed =EXT4_SB (dir->i_sb)->s_hash_seed;ext4fs_dirhash (name, namelen, &hinfo); frame = frames;
fs/ext4/resize.c +14 -47
133 lines not on this page · raw message
fs/ext4/super.c +32 -14
82 lines not on this page · raw message
fs/jbd2/commit.c +25 -2
@@ -24,6 +24,7 @@#include <linux/crc32.h> #include <linux/writeback.h> #include <linux/backing-dev.h> +#include <linux/bio.h> /* * Default IO end handler for temporary BJ_IO buffer_heads.
@@ -170,12 +171,34 @@ static int journal_submit_commit_record(journal_t *journal,* This function along with journal_submit_commit_record * allows to write the commit record asynchronously. */ -static int journal_wait_on_commit_record (struct buffer_head *bh) +static int journal_wait_on_commit_record (journal_t *journal, +struct buffer_head *bh) {int ret =0 ; +retry:clear_buffer_dirty (bh);wait_on_buffer (bh); +if (buffer_eopnotsupp (bh) && (journal->j_flags &JBD2_BARRIER )) { +printk (KERN_WARNING +"JBD2: wait_on_commit_record: sync failed on %s - " +"disabling barriers\n" , journal->j_devname); +spin_lock (&journal->j_state_lock); + journal->j_flags &= ~JBD2_BARRIER ; +spin_unlock (&journal->j_state_lock); + +lock_buffer (bh); +clear_buffer_dirty (bh); +set_buffer_uptodate (bh); + bh->b_end_io = journal_end_buffer_io_sync; + + ret =submit_bh (WRITE_SYNC , bh); +if (ret) { +unlock_buffer (bh); +return ret; + } + goto retry; + }if (unlikely (!buffer_uptodate (bh))) ret = -EIO ;
@@ -795,7 +818,7 @@ wait_for_iobuf:__jbd2_journal_abort_hard (journal); }if (!err && !is_journal_aborted (journal)) - err =journal_wait_on_commit_record (cbh); + err =journal_wait_on_commit_record (journal, cbh);if (err)jbd2_journal_abort (journal, err);
include/linux/jbd2.h +3 -1
@@ -308,7 +308,8 @@ void buffer_assertion_failure(struct buffer_head *bh);int val = (expr); \if (!val) { \printk (KERN_ERR \ - "EXT3-fs unexpected failure: %s;\n",# expr); \ +"JBD2 unexpected failure: %s: %s;\n" , \ + __func__, #expr); \ printk(KERN_ERR why "\n"); \ } \ val; \
@@ -329,6 +330,7 @@ enum jbd_state_bits { BH_State,/* Pins most journal_head state */ BH_JournalHead,/* Pins bh->b_private and jh->b_bh */ BH_Unshadow,/* Dummy bit, for BJ_Shadow wakeup filtering */ + BH_JBDPrivateStart,/* First bit available for private use by FS */ };BUFFER_FNS (JBD , jbd)
include/linux/pci_ids.h +1 -0
@@ -1301,6 +1301,7 @@#define PCI_DEVICE_ID_VIA_VT3351 0x0351#define PCI_DEVICE_ID_VIA_VT3364 0x0364#define PCI_DEVICE_ID_VIA_8371_0 0x0391 +#define PCI_DEVICE_ID_VIA_6415 0x0415#define PCI_DEVICE_ID_VIA_8501_0 0x0501#define PCI_DEVICE_ID_VIA_82C561 0x0561#define PCI_DEVICE_ID_VIA_82C586_1 0x0571
include/linux/pid.h +18 -0
@@ -123,6 +123,24 @@ extern struct pid *alloc_pid(struct pid_namespace *ns);extern void free_pid (struct pid *pid);/* +* ns_of_pid() returns the pid namespace in which the specified pid was +* allocated. +* +* NOTE: +* ns_of_pid() is expected to be called for a process (task) that has +* an attached 'struct pid' (see attach_pid(), detach_pid()) i.e @pid +* is expected to be non-NULL. If @pid is NULL, caller should handle +* the resulting NULL pid-ns. +*/ +static inline struct pid_namespace *ns_of_pid (struct pid *pid) +{ +struct pid_namespace *ns =NULL ; +if (pid) + ns = pid->numbers[pid->level].ns; +return ns; +} + +/* * the helpers to get the pid's id seen from different namespaces * * pid_nr() : global id, i.e. the id seen from the init namespace;
ipc/mqueue.c +2 -1
@@ -498,7 +498,8 @@ static void __do_notify(struct mqueue_inode_info *info) sig_i.si_errno =0 ; sig_i.si_code =SI_MESGQ ; sig_i.si_value = info->notify.sigev_value; - sig_i.si_pid =task_tgid_vnr (current); + sig_i.si_pid =task_tgid_nr_ns (current, +ns_of_pid (info->notify_owner)); sig_i.si_uid = current->uid; kill_pid_info(info->notify.sigev_signo,
Re: Li-nux 2.6.28.7
In reply to Og2.6.28.7:
Makefile | 2 arch/powerpc/kernel/align.c | 7 arch/x86/kernel/traps.c | 10 arch/x86/mm/pageattr.c | 14 + drivers/ata/pata_via.c | 4 drivers/ata/sata_nv.c | 14 - drivers/bluetooth/btsdio.c | 1 drivers/net/3c505.c | 26 + drivers/pci/intel-iommu.c | 14 - drivers/scsi/libiscsi.c | 1 drivers/watchdog/Kconfig | 2 drivers/watchdog/iTCO_vendor_support.c | 32 ++ drivers/watchdog/iTCO_wdt.c | 35 +- fs/ext2/super.c | 9 fs/ext4/balloc.c | 168 ++++-------- fs/ext4/ext4.h | 41 ++- fs/ext4/ext4_sb.h | 4 fs/ext4/hash.c | 77 +++++ fs/ext4/ialloc.c | 166 ++++++++---- fs/ext4/inode.c | 76 ++++- fs/ext4/mballoc.c | 433 +++++++++++++++++++++++++-------- fs/ext4/mballoc.h | 26 - fs/ext4/namei.c | 28 +- fs/ext4/resize.c | 68 +---- fs/ext4/super.c | 46 ++- fs/jbd2/commit.c | 27 +- include/linux/jbd2.h | 4 include/linux/mod_devicetable.h | 7 include/linux/pci_ids.h | 1 include/linux/pid.h | 18 + ipc/mqueue.c | 3 kernel/sched_fair.c | 30 +- 32 files changed, 938 insertions(+), 456 deletions(-)
Alexey Dobriyan (1):
Fix longstanding "error: storage size of '__mod_dmi_device_table' isn't known"
Aneesh Kumar K.V (14):
ext4: Fix the delalloc writepages to allocate blocks at the right offset.
ext4: avoid ext4_error when mounting a fs with a single bg
ext4: Don't overwrite allocation_context ac_status
ext4: Add blocks added during resize to bitmap
ext4: Use EXT4_GROUP_INFO_NEED_INIT_BIT during resize
ext4: cleanup mballoc header files
ext4: don't use blocks freed but not yet committed in buddy cache init
ext4: Fix race between read_block_bitmap() and mark_diskspace_used()
ext4: Fix the race between read_inode_bitmap() and ext4_new_inode()
ext4: Use new buffer_head flag to check uninit group bitmaps initialization
ext4: mark the blocks/inode bitmap beyond end of group as used
ext4: Don't allow new groups to be added during block allocation
ext4: Init the complete page while building buddy cache
ext4: Fix s_dirty_blocks_counter if block allocation failed with nodelalloc
Carsten Otte (1):
ext2/xip: refuse to change xip flag during remount with busy inodes
David Woodhouse (1):
Fix Intel IOMMU write-buffer flushing
Eric W. Biederman (1):
pid: implement ns_of_pid
Greg Kroah-Hartman (1):
Linux 2.6.28.7
Jeremy Fitzhardinge (1):
x86/cpa: make sure cpa is safe to call in lazy mmu mode
Mark Fasheh (1):
jbd2: Add BH_JBDPrivateStart
Michael Neuling (1):
powerpc/vsx: Fix VSX alignment handler for regs 32-63
Mike Christie (1):
SCSI: libiscsi: fix iscsi pool leak
Peter Zijlstra (1):
sched: SCHED_OTHER vs SCHED_IDLE isolation
Roel Kluin (1):
3c505: do not set pcb->data.raw beyond its size
Sukadev Bhattiprolu (1):
mqueue: fix si_pid value in mqueue do_notify()
Tejun Heo (1):
sata_nv: give up hardreset on nf2
Theodore Ts'o (8):
ext4: Add support for non-native signed/unsigned htree hash algorithms
ext4: tone down ext4_da_writepages warnings
jbd2: Add barrier not supported test to journal_wait_on_commit_record
ext4: Add sanity checks for the superblock before mounting the filesystem
ext4: only use i_size_high for regular files
ext4: Add sanity check to make_indexed_dir
jbd2: On a __journal_expect() assertion failure printk "JBD2", not "EXT3-fs"
ext4: Initialize the new group descriptor when resizing the filesystem
Thomas Gleixner (1):
x86, vm86: fix preemption bug
Tomas Winkler (1):
Bluetooth: Fix TX error path in btsdio driver
Wim Van Sebroeck (1):
WATCHDOG: iTCO_wdt: fix SMI_EN regression 2
Yasunori Goto (1):
ext4: Widen type of ext4_sb_info.s_mb_maxs[]
Zlatko Calusic (1):
Add support for VT6415 PCIE PATA IDE Host Controller
Re: Li-nux 2.6.28.7
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 28 -EXTRAVERSION = .6 +EXTRAVERSION = .7 NAME = Erotic Pickled Herring # *DOCUMENTATION*
arch/powerpc/kernel/align.c +6 -1
@@ -646,11 +646,16 @@ static int emulate_vsx(unsigned char __user *addr, unsigned int reg, unsigned int areg, struct pt_regs *regs, unsigned int flags, unsigned int length) { - char *ptr = (char *) ¤t->thread.TS_FPR(reg); + char *ptr;int ret =0 ;flush_vsx_to_thread (current); +if (reg <32 ) + ptr = (char *) ¤t->thread.TS_FPR (reg); +else + ptr = (char *) ¤t->thread.vr[reg -32 ]; +if (flags &ST ) ret =__copy_to_user (addr, ptr, length);else {
arch/x86/kernel/traps.c +9 -1
@@ -104,6 +104,12 @@ static inline void preempt_conditional_sti(struct pt_regs *regs)local_irq_enable (); } +static inline void conditional_cli (struct pt_regs *regs) +{ +if (regs->flags &X86_EFLAGS_IF ) +local_irq_disable (); +} +static inline void preempt_conditional_cli (struct pt_regs *regs) {if (regs->flags &X86_EFLAGS_IF )
@@ -629,8 +635,10 @@ clear_dr7:#ifdef CONFIG_X86_32 debug_vm86: +/* reenable preemption: handle_vm86_trap() might sleep */ +dec_preempt_count ();handle_vm86_trap ((struct kernel_vm86_regs *) regs, error_code,1 ); -preempt_conditional_cli (regs); +conditional_cli (regs);return ;#endif
arch/x86/mm/pageattr.c +14 -0
@@ -576,6 +576,13 @@ static int __change_page_attr(struct cpa_data *cpa, int primary)else address = *cpa->vaddr; +/* +* If we're called with lazy mmu updates enabled, the +* in-memory pte state may be stale. Flush pending updates to +* bring them up to date. +*/ +arch_flush_lazy_mmu_mode (); + repeat: kpte =lookup_address (address, &level);if (!kpte)
@@ -854,6 +861,13 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages, }else cpa_flush_all (cache); +/* +* If we've been called with lazy mmu updates enabled, then +* make sure that everything gets flushed out before we +* return. +*/ +arch_flush_lazy_mmu_mode (); + out:return ret; }
drivers/ata/pata_via.c +3 -1
@@ -110,7 +110,8 @@ static const struct via_isa_bridge { { "vt8237s", PCI_DEVICE_ID_VIA_8237S, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "cx700", PCI_DEVICE_ID_VIA_CX700, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_SATA_PATA }, - { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES}, + { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES }, + { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES }, { "vt8237a", PCI_DEVICE_ID_VIA_8237A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
@@ -593,6 +594,7 @@ static int via_reinit_one(struct pci_dev *pdev)#endif static const struct pci_device_id via[] = { + {PCI_VDEVICE (VIA ,0x0415 ), }, {PCI_VDEVICE (VIA ,0x0571 ), }, {PCI_VDEVICE (VIA ,0x0581 ), }, {PCI_VDEVICE (VIA ,0x1571 ), },
drivers/ata/sata_nv.c +8 -6
@@ -421,19 +421,21 @@ static struct ata_port_operations nv_generic_ops = { .hardreset = ATA_OP_NULL, }; -/* OSDL bz3352 reports that nf2/3 controllers can't determine device -* signature reliably. Also, the following thread reports detection -* failure on cold boot with the standard debouncing timing. +/* nf2 is ripe with hardreset related problems. +* +* kernel bz#3352 reports nf2/3 controllers can't determine device +* signature reliably. The following thread reports detection failure +* on cold boot with the standard debouncing timing. * * http://thread.gmane.org/gmane.linux.ide/34098 * -* Debounce with hotplug timing and request follow-up SRST. +* And bz#12176 reports that hardreset simply doesn't work on nf2. +* Give up on it and just don't do hardreset. */ static struct ata_port_operations nv_nf2_ops = { - .inherits = &nv_common_ops, + .inherits = &nv_generic_ops, .freeze = nv_nf2_freeze, .thaw = nv_nf2_thaw, - .hardreset = nv_noclassify_hardreset, };/* For initial probing after boot and hot plugging, hardreset mostly
drivers/bluetooth/btsdio.c +1 -0
@@ -91,6 +91,7 @@ static int btsdio_tx_packet(struct btsdio_data *data, struct sk_buff *skb) err =sdio_writesb (data->func,REG_TDAT , skb->data, skb->len);if (err <0 ) { +skb_pull (skb,4 );sdio_writeb (data->func,0x01 ,REG_PC_WRT ,NULL );return err; }
drivers/net/3c505.c +16 -10
@@ -493,21 +493,27 @@ static bool receive_pcb(struct net_device *dev, pcb_struct * pcb) }/* read the data */ spin_lock_irqsave (&adapter->lock, flags); - i =0 ; -do { - j =0 ; -while (((stat =get_status (dev->base_addr)) &ACRF ) ==0 && j++ <20000 ); - pcb->data.raw[i++] =inb_command (dev->base_addr); -if (i >MAX_PCB_DATA ) -INVALID_PCB_MSG (i); - }while ((stat &ASF_PCB_MASK ) !=ASF_PCB_END && j <20000 ); +for (i =0 ; i <MAX_PCB_DATA ; i++) { +for (j =0 ; j <20000 ; j++) { + stat =get_status (dev->base_addr); +if (stat &ACRF ) +break ; + } + pcb->data.raw[i] =inb_command (dev->base_addr); +if ((stat &ASF_PCB_MASK ) ==ASF_PCB_END || j >=20000 ) +break ; + }spin_unlock_irqrestore (&adapter->lock, flags); +if (i >=MAX_PCB_DATA ) { +INVALID_PCB_MSG (i); +return false; + }if (j >=20000 ) {TIMEOUT_MSG (__LINE__);return false; } -/* woops, the last "data" byte was really the length! */ - total_length = pcb->data.raw[--i]; +/* the last "data" byte was really the length! */ + total_length = pcb->data.raw[i];/* safety check total length vs data length */ if (total_length != (pcb->length +2 )) {
drivers/pci/intel-iommu.c +13 -1
@@ -71,6 +71,8 @@ static struct deferred_flush_tables *deferred_flush;/* bitmap for indexing intel_iommus */ static int g_num_of_iommus; +static int rwbf_quirk =0 ; +static DEFINE_SPINLOCK (async_umap_flush_lock);static LIST_HEAD (unmaps_to_do);
@@ -506,7 +508,7 @@ static void iommu_flush_write_buffer(struct intel_iommu *iommu)u32 val;unsigned long flag; -if (!cap_rwbf (iommu->cap)) +if (!rwbf_quirk && !cap_rwbf (iommu->cap))return ; val = iommu->gcmd |DMA_GCMD_WBF ;
@@ -2436,3 +2438,13 @@ u64 intel_iommu_iova_to_pfn(struct dmar_domain *domain, u64 iova)return pfn >>VTD_PAGE_SHIFT ; }EXPORT_SYMBOL_GPL (intel_iommu_iova_to_pfn); + +static void __devinit quirk_iommu_rwbf (struct pci_dev *dev) +{ +/* Mobile 4 Series Chipset neglects to set RWBF capability, +but needs it */ +printk (KERN_INFO "DMAR: Forcing write-buffer flush capability\n" ); + rwbf_quirk =1 ; +} + +DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_INTEL ,0x2a40 , quirk_iommu_rwbf);
drivers/scsi/libiscsi.c +1 -0
@@ -1899,6 +1899,7 @@ void iscsi_pool_free(struct iscsi_pool *q)kfree (q->pool[i]);if (q->pool)kfree (q->pool); +kfree (q->queue); }EXPORT_SYMBOL_GPL (iscsi_pool_free);
drivers/watchdog/Kconfig +1 -1
@@ -399,7 +399,7 @@ config ITCO_WDT ---help--- Hardware driver for the intel TCO timer based watchdog devices. These drivers are included in the Intel 82801 I/O Controller - Hub family (from ICH0 up to ICH8) and in the Intel 6300ESB + Hub family (from ICH0 up to ICH10) and in the Intel 63xxESB controller hub. The TCO (Total Cost of Ownership) timer is a watchdog timer
drivers/watchdog/iTCO_vendor_support.c +28 -4
@@ -1,7 +1,7 @@/* * intel TCO vendor specific watchdog driver support * -* (c) Copyright 2006-2008 Wim Van Sebroeck <[email protected]>. +* (c) Copyright 2006-2009 Wim Van Sebroeck <[email protected]>. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License
@@ -19,7 +19,7 @@/* Module and version information */ #define DRV_NAME "iTCO_vendor_support" -#define DRV_VERSION "1.02" +#define DRV_VERSION "1.03"#define PFX DRV_NAME ": "/* Includes */
@@ -77,6 +77,26 @@ MODULE_PARM_DESC(vendorsupport, "iTCO vendor specific support mode, default=0 (n* 20.6 seconds. */ +static void supermicro_old_pre_start (unsigned long acpibase) +{ +unsigned long val32; + +/* Bit 13: TCO_EN -> 0 = Disables TCO logic generating an SMI# */ + val32 =inl (SMI_EN ); + val32 &=0xffffdfff ;/* Turn off SMI clearing watchdog */ +outl (val32,SMI_EN );/* Needed to activate watchdog */ +} + +static void supermicro_old_pre_stop (unsigned long acpibase) +{ +unsigned long val32; + +/* Bit 13: TCO_EN -> 1 = Enables the TCO logic to generate SMI# */ + val32 =inl (SMI_EN ); + val32 |=0x00002000 ;/* Turn on SMI clearing watchdog */ +outl (val32,SMI_EN );/* Needed to deactivate watchdog */ +} +static void supermicro_old_pre_keepalive (unsigned long acpibase) {/* Reload TCO Timer (done in iTCO_wdt_keepalive) + */
@@ -228,14 +248,18 @@ static void supermicro_new_pre_set_heartbeat(unsigned int heartbeat)void iTCO_vendor_pre_start (unsigned long acpibase,unsigned int heartbeat) { -if (vendorsupport ==SUPERMICRO_NEW_BOARD ) +if (vendorsupport ==SUPERMICRO_OLD_BOARD ) +supermicro_old_pre_start (acpibase); +else if (vendorsupport ==SUPERMICRO_NEW_BOARD )supermicro_new_pre_start (heartbeat); }EXPORT_SYMBOL (iTCO_vendor_pre_start);void iTCO_vendor_pre_stop (unsigned long acpibase) { -if (vendorsupport ==SUPERMICRO_NEW_BOARD ) +if (vendorsupport ==SUPERMICRO_OLD_BOARD ) +supermicro_old_pre_stop (acpibase); +else if (vendorsupport ==SUPERMICRO_NEW_BOARD )supermicro_new_pre_stop (); }EXPORT_SYMBOL (iTCO_vendor_pre_stop);
drivers/watchdog/iTCO_wdt.c +14 -21
@@ -1,7 +1,7 @@/* -* intel TCO Watchdog Driver (Used in i82801 and i6300ESB chipsets) +* intel TCO Watchdog Driver (Used in i82801 and i63xxESB chipsets) * -* (c) Copyright 2006-2008 Wim Van Sebroeck <[email protected]>. +* (c) Copyright 2006-2009 Wim Van Sebroeck <[email protected]>. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License
@@ -63,7 +63,7 @@/* Module and version information */ #define DRV_NAME "iTCO_wdt" -#define DRV_VERSION "1.04" +#define DRV_VERSION "1.05"#define PFX DRV_NAME ": "/* Includes */
@@ -236,16 +236,16 @@ MODULE_DEVICE_TABLE(pci, iTCO_wdt_pci_tbl);/* Address definitions for the TCO */ /* TCO base address */ -#define TCOBASE iTCO_wdt_private.ACPIBASE + 0x60 +#define TCOBASE iTCO_wdt_private.ACPIBASE + 0x60/* SMI Control and Enable Register */ -#define SMI_EN iTCO_wdt_private.ACPIBASE + 0x30 +#define SMI_EN iTCO_wdt_private.ACPIBASE + 0x30#define TCO_RLD TCOBASE + 0x00/* TCO Timer Reload and Curr. Value */ #define TCOv1_TMR TCOBASE + 0x01/* TCOv1 Timer Initial Value */ -#define TCO_DAT_IN TCOBASE + 0x02/* TCO Data In Register */ -#define TCO_DAT_OUT TCOBASE + 0x03/* TCO Data Out Register */ -#define TCO1_STS TCOBASE + 0x04/* TCO1 Status Register */ -#define TCO2_STS TCOBASE + 0x06/* TCO2 Status Register */ +#define TCO_DAT_IN TCOBASE + 0x02/* TCO Data In Register */ +#define TCO_DAT_OUT TCOBASE + 0x03/* TCO Data Out Register */ +#define TCO1_STS TCOBASE + 0x04/* TCO1 Status Register */ +#define TCO2_STS TCOBASE + 0x06/* TCO2 Status Register */ #define TCO1_CNT TCOBASE + 0x08/* TCO1 Control Register */ #define TCO2_CNT TCOBASE + 0x0a/* TCO2 Control Register */ #define TCOv2_TMR TCOBASE + 0x12/* TCOv2 Timer Initial Value */
@@ -338,7 +338,6 @@ static int iTCO_wdt_unset_NO_REBOOT_bit(void)static int iTCO_wdt_start (void ) {unsigned int val; -unsigned long val32;spin_lock (&iTCO_wdt_private.io_lock);
@@ -351,11 +350,6 @@ static int iTCO_wdt_start(void)return -EIO ; } -/* Bit 13: TCO_EN -> 0 = Disables TCO logic generating an SMI# */ - val32 =inl (SMI_EN ); - val32 &=0xffffdfff ;/* Turn off SMI clearing watchdog */ -outl (val32,SMI_EN ); -/* Force the timer to its reload value by writing to the TCO_RLD register */ if (iTCO_wdt_private.iTCO_version ==2 )
@@ -378,7 +372,6 @@ static int iTCO_wdt_start(void)static int iTCO_wdt_stop (void ) {unsigned int val; -unsigned long val32;spin_lock (&iTCO_wdt_private.io_lock);
@@ -390,11 +383,6 @@ static int iTCO_wdt_stop(void)outw (val,TCO1_CNT ); val =inw (TCO1_CNT ); -/* Bit 13: TCO_EN -> 1 = Enables the TCO logic to generate SMI# */ - val32 =inl (SMI_EN ); - val32 |=0x00002000 ; -outl (val32,SMI_EN ); -/* Set the NO_REBOOT bit to prevent later reboots, just for sure */ iTCO_wdt_set_NO_REBOOT_bit ();
@@ -649,6 +637,7 @@ static int __devinit iTCO_wdt_init(struct pci_dev *pdev,int ret;u32 base_address;unsigned long RCBA ; +unsigned long val32;/* * Find the ACPI/PM base I/O address which is the base
@@ -695,6 +684,10 @@ static int __devinit iTCO_wdt_init(struct pci_dev *pdev, ret = -EIO ; goto out; } +/* Bit 13: TCO_EN -> 0 = Disables TCO logic generating an SMI# */ + val32 =inl (SMI_EN ); + val32 &=0xffffdfff ;/* Turn off SMI clearing watchdog */ +outl (val32,SMI_EN );/* The TCO I/O registers reside in a 32-byte range pointed to by the TCOBASE value */
fs/ext2/super.c +6 -3
@@ -1177,9 +1177,12 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data) es = sbi->s_es;if (((sbi->s_mount_opt &EXT2_MOUNT_XIP ) != (old_mount_opt &EXT2_MOUNT_XIP )) && -invalidate_inodes (sb)) -ext2_warning (sb, __func__,"busy inodes while remounting " \ -"xip remain in cache (no functional problem)" ); +invalidate_inodes (sb)) { +ext2_warning (sb, __func__,"refusing change of xip flag " +"with busy inodes while remounting" ); + sbi->s_mount_opt &= ~EXT2_MOUNT_XIP ; + sbi->s_mount_opt |= old_mount_opt &EXT2_MOUNT_XIP ; + }if ((*flags &MS_RDONLY ) == (sb->s_flags &MS_RDONLY ))return 0 ;if (*flags &MS_RDONLY ) {
fs/ext4/balloc.c +59 -109
270 lines not on this page · raw message
fs/ext4/ext4.h +33 -8
80 lines not on this page · raw message
fs/ext4/ext4_sb.h +3 -1
@@ -57,6 +57,7 @@ struct ext4_sb_info {u32 s_next_generation;u32 s_hash_seed[4 ];int s_def_hash_version; +int s_hash_unsigned;/* 3 if hash should be signed, 0 if not */ struct percpu_counter s_freeblocks_counter;struct percpu_counter s_freeinodes_counter;struct percpu_counter s_dirs_counter;
@@ -101,7 +102,8 @@ struct ext4_sb_info {spinlock_t s_reserve_lock;spinlock_t s_md_lock;tid_t s_last_transaction; -unsigned short *s_mb_offsets, *s_mb_maxs; +unsigned short *s_mb_offsets; +unsigned int *s_mb_maxs;/* tunables */ unsigned long s_stripe;
fs/ext4/hash.c +67 -10
126 lines not on this page · raw message
fs/ext4/ialloc.c +106 -60
225 lines not on this page · raw message
fs/ext4/inode.c +56 -20
124 lines not on this page · raw message
fs/ext4/mballoc.c +338 -95
711 lines not on this page · raw message
fs/ext4/mballoc.h +9 -17
@@ -20,6 +20,7 @@#include <linux/version.h> #include <linux/blkdev.h> #include <linux/marker.h> +#include <linux/mutex.h> #include "ext4_jbd2.h" #include "ext4.h" #include "group.h"
@@ -98,9 +99,6 @@*/ #define MB_DEFAULT_GROUP_PREALLOC 512 -static struct kmem_cache *ext4_pspace_cachep; -static struct kmem_cache *ext4_ac_cachep; -static struct kmem_cache *ext4_free_ext_cachep;struct ext4_free_data {/* this links the free block information from group_info */
@@ -130,6 +128,7 @@ struct ext4_group_info {#ifdef DOUBLE_CHECK void *bb_bitmap;#endif +struct rw_semaphore alloc_sem;unsigned short bb_counters[]; };
@@ -217,6 +216,11 @@ struct ext4_allocation_context {__u8 ac_op;/* operation, for history only */ struct page *ac_bitmap_page;struct page *ac_buddy_page; +/* +* pointer to the held semaphore upon successful +* block allocation +*/ +struct rw_semaphore *alloc_semp;struct ext4_prealloc_space *ac_pa;struct ext4_locality_group *ac_lg; };
@@ -250,6 +254,7 @@ struct ext4_buddy {struct super_block *bd_sb;__u16 bd_blkbits;ext4_group_t bd_group; +struct rw_semaphore *alloc_semp; };#define EXT4_MB_BITMAP (e4b) ((e4b)->bd_bitmap)#define EXT4_MB_BUDDY (e4b) ((e4b)->bd_buddy)
@@ -259,25 +264,12 @@ static inline void ext4_mb_store_history(struct ext4_allocation_context *ac) {return ; } -#else -static void ext4_mb_store_history (struct ext4_allocation_context *ac);#endif #define in_range (b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1)struct buffer_head *read_block_bitmap (struct super_block *,ext4_group_t ); -static void ext4_mb_generate_from_pa (struct super_block *sb,void *bitmap, -ext4_group_t group); -static void ext4_mb_return_to_preallocation (struct inode *inode, -struct ext4_buddy *e4b,sector_t block, -int count); -static void ext4_mb_put_pa (struct ext4_allocation_context *, -struct super_block *,struct ext4_prealloc_space *pa); -static int ext4_mb_init_per_dev_proc (struct super_block *sb); -static int ext4_mb_destroy_per_dev_proc (struct super_block *sb); -static void release_blocks_on_commit (journal_t *journal,transaction_t *txn); -static inline void ext4_lock_group (struct super_block *sb,ext4_group_t group) {
@@ -303,7 +295,7 @@ static inline int ext4_is_group_locked(struct super_block *sb, &(grinfo->bb_state)); } -static ext4_fsblk_t ext4_grp_offs_to_block (struct super_block *sb, +static inline ext4_fsblk_t ext4_grp_offs_to_block (struct super_block *sb,struct ext4_free_extent *fex) {ext4_fsblk_t block;
fs/ext4/namei.c +22 -6
@@ -372,6 +372,8 @@ dx_probe(const struct qstr *d_name, struct inode *dir, goto fail; } hinfo->hash_version = root->info.hash_version; +if (hinfo->hash_version <=DX_HASH_TEA ) + hinfo->hash_version +=EXT4_SB (dir->i_sb)->s_hash_unsigned; hinfo->seed =EXT4_SB (dir->i_sb)->s_hash_seed;if (d_name)ext4fs_dirhash (d_name->name, d_name->len, hinfo);
@@ -641,6 +643,9 @@ int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash, dir = dir_file->f_path.dentry->d_inode;if (!(EXT4_I (dir)->i_flags &EXT4_INDEX_FL )) { hinfo.hash_version =EXT4_SB (dir->i_sb)->s_def_hash_version; +if (hinfo.hash_version <=DX_HASH_TEA ) + hinfo.hash_version += +EXT4_SB (dir->i_sb)->s_hash_unsigned; hinfo.seed =EXT4_SB (dir->i_sb)->s_hash_seed; count =htree_dirblock_to_tree (dir_file, dir,0 , &hinfo, start_hash, start_minor_hash);
@@ -1367,7 +1372,7 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry,struct fake_dirent *fde; blocksize = dir->i_sb->s_blocksize; -dxtrace (printk (KERN_DEBUG "Creating index\n" )); +dxtrace (printk (KERN_DEBUG "Creating index: inode %lu\n" , dir->i_ino)); retval =ext4_journal_get_write_access (handle, bh);if (retval) {ext4_std_error (dir->i_sb, retval);
@@ -1376,6 +1381,20 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry, } root = (struct dx_root *) bh->b_data; +/* The 0th block becomes the root, move the dirents out */ + fde = &root->dotdot; + de = (struct ext4_dir_entry_2 *)((char *)fde + +ext4_rec_len_from_disk (fde->rec_len)); +if ((char *) de >= (((char *) root) + blocksize)) { +ext4_error (dir->i_sb, __func__, +"invalid rec_len for '..' in inode %lu" , + dir->i_ino); +brelse (bh); +return -EIO ; + } + len = ((char *) root) + blocksize - (char *) de; + +/* Allocate new block for the 0th block's dirents */ bh2 =ext4_append (handle, dir, &block, &retval);if (!(bh2)) {brelse (bh);
@@ -1384,11 +1403,6 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry,EXT4_I (dir)->i_flags |=EXT4_INDEX_FL ; data1 = bh2->b_data; -/* The 0th block becomes the root, move the dirents out */ - fde = &root->dotdot; - de = (struct ext4_dir_entry_2 *)((char *)fde + -ext4_rec_len_from_disk (fde->rec_len)); - len = ((char *) root) + blocksize - (char *) de;memcpy (data1, de, len); de = (struct ext4_dir_entry_2 *) data1; top = data1 + len;
@@ -1408,6 +1422,8 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry,/* Initialize as for dx_probe */ hinfo.hash_version = root->info.hash_version; +if (hinfo.hash_version <=DX_HASH_TEA ) + hinfo.hash_version +=EXT4_SB (dir->i_sb)->s_hash_unsigned; hinfo.seed =EXT4_SB (dir->i_sb)->s_hash_seed;ext4fs_dirhash (name, namelen, &hinfo); frame = frames;
fs/ext4/resize.c +14 -54
140 lines not on this page · raw message
fs/ext4/super.c +32 -14
82 lines not on this page · raw message
fs/jbd2/commit.c +25 -2
@@ -25,6 +25,7 @@#include <linux/crc32.h> #include <linux/writeback.h> #include <linux/backing-dev.h> +#include <linux/bio.h> /* * Default IO end handler for temporary BJ_IO buffer_heads.
@@ -168,12 +169,34 @@ static int journal_submit_commit_record(journal_t *journal,* This function along with journal_submit_commit_record * allows to write the commit record asynchronously. */ -static int journal_wait_on_commit_record (struct buffer_head *bh) +static int journal_wait_on_commit_record (journal_t *journal, +struct buffer_head *bh) {int ret =0 ; +retry:clear_buffer_dirty (bh);wait_on_buffer (bh); +if (buffer_eopnotsupp (bh) && (journal->j_flags &JBD2_BARRIER )) { +printk (KERN_WARNING +"JBD2: wait_on_commit_record: sync failed on %s - " +"disabling barriers\n" , journal->j_devname); +spin_lock (&journal->j_state_lock); + journal->j_flags &= ~JBD2_BARRIER ; +spin_unlock (&journal->j_state_lock); + +lock_buffer (bh); +clear_buffer_dirty (bh); +set_buffer_uptodate (bh); + bh->b_end_io = journal_end_buffer_io_sync; + + ret =submit_bh (WRITE_SYNC , bh); +if (ret) { +unlock_buffer (bh); +return ret; + } + goto retry; + }if (unlikely (!buffer_uptodate (bh))) ret = -EIO ;
@@ -799,7 +822,7 @@ wait_for_iobuf:__jbd2_journal_abort_hard (journal); }if (!err && !is_journal_aborted (journal)) - err =journal_wait_on_commit_record (cbh); + err =journal_wait_on_commit_record (journal, cbh);if (err)jbd2_journal_abort (journal, err);
include/linux/jbd2.h +3 -1
@@ -308,7 +308,8 @@ void buffer_assertion_failure(struct buffer_head *bh);int val = (expr); \if (!val) { \printk (KERN_ERR \ - "EXT3-fs unexpected failure: %s;\n",# expr); \ +"JBD2 unexpected failure: %s: %s;\n" , \ + __func__, #expr); \ printk(KERN_ERR why "\n"); \ } \ val; \
@@ -329,6 +330,7 @@ enum jbd_state_bits { BH_State,/* Pins most journal_head state */ BH_JournalHead,/* Pins bh->b_private and jh->b_bh */ BH_Unshadow,/* Dummy bit, for BJ_Shadow wakeup filtering */ + BH_JBDPrivateStart,/* First bit available for private use by FS */ };BUFFER_FNS (JBD , jbd)
include/linux/mod_devicetable.h +7 -0
@@ -443,6 +443,13 @@ struct dmi_system_id {struct dmi_strmatch matches[4 ]; void *driver_data; }; +/* +* struct dmi_device_id appears during expansion of +* "MODULE_DEVICE_TABLE(dmi, x)". Compiler doesn't look inside it +* but this is enough for gcc 3.4.6 to error out: +* error: storage size of '__mod_dmi_device_table' isn't known +*/ +#define dmi_device_id dmi_system_id#endif #define DMI_MATCH (a, b) { a, b }
include/linux/pci_ids.h +1 -0
@@ -1312,6 +1312,7 @@#define PCI_DEVICE_ID_VIA_VT3351 0x0351#define PCI_DEVICE_ID_VIA_VT3364 0x0364#define PCI_DEVICE_ID_VIA_8371_0 0x0391 +#define PCI_DEVICE_ID_VIA_6415 0x0415#define PCI_DEVICE_ID_VIA_8501_0 0x0501#define PCI_DEVICE_ID_VIA_82C561 0x0561#define PCI_DEVICE_ID_VIA_82C586_1 0x0571
include/linux/pid.h +18 -0
@@ -123,6 +123,24 @@ extern struct pid *alloc_pid(struct pid_namespace *ns);extern void free_pid (struct pid *pid);/* +* ns_of_pid() returns the pid namespace in which the specified pid was +* allocated. +* +* NOTE: +* ns_of_pid() is expected to be called for a process (task) that has +* an attached 'struct pid' (see attach_pid(), detach_pid()) i.e @pid +* is expected to be non-NULL. If @pid is NULL, caller should handle +* the resulting NULL pid-ns. +*/ +static inline struct pid_namespace *ns_of_pid (struct pid *pid) +{ +struct pid_namespace *ns =NULL ; +if (pid) + ns = pid->numbers[pid->level].ns; +return ns; +} + +/* * the helpers to get the pid's id seen from different namespaces * * pid_nr() : global id, i.e. the id seen from the init namespace;
ipc/mqueue.c +2 -1
@@ -506,7 +506,8 @@ static void __do_notify(struct mqueue_inode_info *info) sig_i.si_errno =0 ; sig_i.si_code =SI_MESGQ ; sig_i.si_value = info->notify.sigev_value; - sig_i.si_pid =task_tgid_vnr (current); + sig_i.si_pid =task_tgid_nr_ns (current, +ns_of_pid (info->notify_owner)); sig_i.si_uid = current->uid; kill_pid_info(info->notify.sigev_signo,
kernel/sched_fair.c +22 -8
@@ -681,9 +681,13 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)unsigned long thresh = sysctl_sched_latency;/* -* convert the sleeper threshold into virtual time +* Convert the sleeper threshold into virtual time. +* SCHED_IDLE is a special sub-class. We care about +* fairness only relative to other SCHED_IDLE tasks, +* all of which have the same weight. */ -if (sched_feat (NORMALIZED_SLEEPER )) +if (sched_feat (NORMALIZED_SLEEPER ) && +task_of (se)->policy !=SCHED_IDLE ) thresh =calc_delta_fair (thresh, se); vruntime -= thresh;
@@ -1328,14 +1332,18 @@ wakeup_preempt_entity(struct sched_entity *curr, struct sched_entity *se)static void set_last_buddy (struct sched_entity *se) { -for_each_sched_entity (se) -cfs_rq_of (se)->last = se; +if (likely (task_of (se)->policy !=SCHED_IDLE )) { +for_each_sched_entity (se) +cfs_rq_of (se)->last = se; + } }static void set_next_buddy (struct sched_entity *se) { -for_each_sched_entity (se) -cfs_rq_of (se)->next = se; +if (likely (task_of (se)->policy !=SCHED_IDLE )) { +for_each_sched_entity (se) +cfs_rq_of (se)->next = se; + } }/*
@@ -1382,12 +1390,18 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int sync)return ;/* -* Batch tasks do not preempt (their preemption is driven by +* Batch and idle tasks do not preempt (their preemption is driven by * the tick): */ -if (unlikely (p->policy ==SCHED_BATCH )) +if (unlikely (p->policy !=SCHED_NORMAL ))return ; +/* Idle tasks are by definition preempted by everybody. */ +if (unlikely (curr->policy ==SCHED_IDLE )) { +resched_task (curr); +return ; + } +if (!sched_feat (WAKEUP_PREEMPT ))return ;
Quoted 15 lines · Og
Greg run off to big hill with white stuff.
He leave corn bits and paper.Corn bits have many num-bers.
2 corns.
Num-ber on one corn is 2.6.27.19.
Num-ber on one corn is 2.6.28.7.Paper have 1 wurd.
Paper say "Update!"
Quoted 7 lines
Og no no what paper meens.
Corn only good for wood-chuck. Why Greg care about corn?
Og con-fus-ed.
Og done.
I'm happy to see that we have sunk to a whole new level of professionalism.
And imagine that people ever doubted that open-source could ever be mission critical! Ha!
Linus
I fired up this kernel up on my FC8 laptop and I see
http://userweb.kernel.org/~akpm/p3130212.jpg
On the next two boot attempts, the kernel came up OK.
Also, during boot the e1000e driver has conniptions:
------------[ cut here ]------------ WARNING: at drivers/net/e1000e/ich8lan.c:408 e1000_acquire_swflag_ich8lan+0x51/0xf2() e1000e mutex contention. Owned by pid 10 Modules linked in: Pid: 9, comm: events/0 Not tainted 2.6.28.7 #1 Call Trace: [<ffffffff8103a810>] warn_slowpath+0xae/0xcd [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8105d63f>] ? __lock_acquire+0x702/0x760 [<ffffffff8105bfc6>] ? mark_held_locks+0x50/0x6d [<ffffffff812dd950>] ? mutex_trylock+0x104/0x118 [<ffffffff8105c170>] ? trace_hardirqs_on_caller+0xf8/0x123 [<ffffffff8105c1a8>] ? trace_hardirqs_on+0xd/0xf [<ffffffff811ed838>] e1000_acquire_swflag_ich8lan+0x51/0xf2 [<ffffffff811f2fe9>] e1000e_read_kmrn_reg+0x1b/0x69 [<ffffffff811f63c5>] ? e1000e_downshift_workaround+0x0/0x12 [<ffffffff811ed1e9>] e1000e_gig_downshift_workaround_ich8lan+0x2c/0x71 [<ffffffff811f63d5>] e1000e_downshift_workaround+0x10/0x12 [<ffffffff8104a6ed>] run_workqueue+0xf5/0x1fd [<ffffffff8104a697>] ? run_workqueue+0x9f/0x1fd [<ffffffff8104a8f6>] ? worker_thread+0x0/0xe8 [<ffffffff8104a9d1>] worker_thread+0xdb/0xe8 [<ffffffff8104de14>] ? autoremove_wake_function+0x0/0x36 [<ffffffff8104a8f6>] ? worker_thread+0x0/0xe8 [<ffffffff8104db1a>] kthread+0x44/0x6b [<ffffffff8100cf59>] child_rip+0xa/0x11 [<ffffffff8100c474>] ? restore_args+0x0/0x30 [<ffffffff8104dad6>] ? kthread+0x0/0x6b [<ffffffff8100cf4f>] ? child_rip+0x0/0x11 ---[ end trace 09c88554f9900e8b ]---
Config: http://userweb.kernel.org/~akpm/config-t61p.txt
dmesg: http://userweb.kernel.org/~akpm/dmesg-t61p.txt
Quoted 6 lines · Andrew Morton
I fired up this kernel up on my FC8 laptop and I see
http://userweb.kernel.org/~akpm/p3130212.jpgOn the next two boot attempts, the kernel came up OK.
That's wierd, it can't find the root filesystem?
What driver controls the disk for /dev/root? It's not the USB controller, is it? Is that normally sda?
Quoted 34 lines
Also, during boot the e1000e driver has conniptions:
------------[ cut here ]------------ WARNING: at drivers/net/e1000e/ich8lan.c:408 e1000_acquire_swflag_ich8lan+0x51/0xf2() e1000e mutex contention. Owned by pid 10 Modules linked in: Pid: 9, comm: events/0 Not tainted 2.6.28.7 #1 Call Trace: [<ffffffff8103a810>] warn_slowpath+0xae/0xcd [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8105d63f>] ? __lock_acquire+0x702/0x760 [<ffffffff8105bfc6>] ? mark_held_locks+0x50/0x6d [<ffffffff812dd950>] ? mutex_trylock+0x104/0x118 [<ffffffff8105c170>] ? trace_hardirqs_on_caller+0xf8/0x123 [<ffffffff8105c1a8>] ? trace_hardirqs_on+0xd/0xf [<ffffffff811ed838>] e1000_acquire_swflag_ich8lan+0x51/0xf2 [<ffffffff811f2fe9>] e1000e_read_kmrn_reg+0x1b/0x69 [<ffffffff811f63c5>] ? e1000e_downshift_workaround+0x0/0x12 [<ffffffff811ed1e9>] e1000e_gig_downshift_workaround_ich8lan+0x2c/0x71 [<ffffffff811f63d5>] e1000e_downshift_workaround+0x10/0x12 [<ffffffff8104a6ed>] run_workqueue+0xf5/0x1fd [<ffffffff8104a697>] ? run_workqueue+0x9f/0x1fd [<ffffffff8104a8f6>] ? worker_thread+0x0/0xe8 [<ffffffff8104a9d1>] worker_thread+0xdb/0xe8 [<ffffffff8104de14>] ? autoremove_wake_function+0x0/0x36 [<ffffffff8104a8f6>] ? worker_thread+0x0/0xe8 [<ffffffff8104db1a>] kthread+0x44/0x6b [<ffffffff8100cf59>] child_rip+0xa/0x11 [<ffffffff8100c474>] ? restore_args+0x0/0x30 [<ffffffff8104dad6>] ? kthread+0x0/0x6b [<ffffffff8100cf4f>] ? child_rip+0x0/0x11 ---[ end trace 09c88554f9900e8b ]---
Quoted 2 lines
Config: http://userweb.kernel.org/~akpm/config-t61p.txt
dmesg: http://userweb.kernel.org/~akpm/dmesg-t61p.txt
Wierd, I don't know.
thanks,
greg k-h
Quoted 5 lines · On Fri, 13 Mar 2009 15:20:44 -0700 Greg KH <[email protected]> wrote:
Quoted 4 lines · Andrew Morton
I fired up this kernel up on my FC8 laptop and I see
http://userweb.kernel.org/~akpm/p3130212.jpg
Quoted 7 lines
Quoted 2 lines
On the next two boot attempts, the kernel came up OK.
That's wierd, it can't find the root filesystem?
What driver controls the disk for
/dev/root? It's not the USB controller, is it? Is that normally sda?
The dmesg output is down there.
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
ata1.00: ATA-7: HTS721010G9SA00, MCZIC14V, max UDMA/100
ata1.00: 195371568 sectors, multi 16: LBA48
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
ata1.00: configured for UDMA/100
ata1.00: configured for UDMA/100
ata1: EH complete
scsi 0:0:0:0: Direct-Access ATA HTS721010G9SA00 MCZI PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 195371568 512-byte hardware sectors: (100 GB/93.1 GiB) sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 195371568 512-byte hardware sectors: (100 GB/93.1 GiB) sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Quoted 34 lines
Quoted 34 lines
Also, during boot the e1000e driver has conniptions:
------------[ cut here ]------------ WARNING: at drivers/net/e1000e/ich8lan.c:408 e1000_acquire_swflag_ich8lan+0x51/0xf2() e1000e mutex contention. Owned by pid 10 Modules linked in: Pid: 9, comm: events/0 Not tainted 2.6.28.7 #1 Call Trace: [<ffffffff8103a810>] warn_slowpath+0xae/0xcd [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8105d63f>] ? __lock_acquire+0x702/0x760 [<ffffffff8105bfc6>] ? mark_held_locks+0x50/0x6d [<ffffffff812dd950>] ? mutex_trylock+0x104/0x118 [<ffffffff8105c170>] ? trace_hardirqs_on_caller+0xf8/0x123 [<ffffffff8105c1a8>] ? trace_hardirqs_on+0xd/0xf [<ffffffff811ed838>] e1000_acquire_swflag_ich8lan+0x51/0xf2 [<ffffffff811f2fe9>] e1000e_read_kmrn_reg+0x1b/0x69 [<ffffffff811f63c5>] ? e1000e_downshift_workaround+0x0/0x12 [<ffffffff811ed1e9>] e1000e_gig_downshift_workaround_ich8lan+0x2c/0x71 [<ffffffff811f63d5>] e1000e_downshift_workaround+0x10/0x12 [<ffffffff8104a6ed>] run_workqueue+0xf5/0x1fd [<ffffffff8104a697>] ? run_workqueue+0x9f/0x1fd [<ffffffff8104a8f6>] ? worker_thread+0x0/0xe8 [<ffffffff8104a9d1>] worker_thread+0xdb/0xe8 [<ffffffff8104de14>] ? autoremove_wake_function+0x0/0x36 [<ffffffff8104a8f6>] ? worker_thread+0x0/0xe8 [<ffffffff8104db1a>] kthread+0x44/0x6b [<ffffffff8100cf59>] child_rip+0xa/0x11 [<ffffffff8100c474>] ? restore_args+0x0/0x30 [<ffffffff8104dad6>] ? kthread+0x0/0x6b [<ffffffff8100cf4f>] ? child_rip+0x0/0x11 ---[ end trace 09c88554f9900e8b ]---
Quoted 5 lines
Quoted 2 lines
Config: http://userweb.kernel.org/~akpm/config-t61p.txt
dmesg: http://userweb.kernel.org/~akpm/dmesg-t61p.txtWierd, I don't know.
Also in dmesg:
0000:00:19.0: eth0: 10/100 speed: disabling TSO
0000:00:19.0: eth0: Detected Tx Unit Hang:
TDH <7d> TDT <ec> next_to_use <ec> next_to_clean <41> buffer_info[next_to_clean]: time_stamp <fffb80d4> next_to_watch <41> jiffies <fffb86ed>
next_to_watch.status <1>
Quoted 7 lines · Greg KH
Quoted 6 lines · Andrew Morton
I fired up this kernel up on my FC8 laptop and I see
http://userweb.kernel.org/~akpm/p3130212.jpgOn the next two boot attempts, the kernel came up OK.
root issue:
seems that something with the 2.6.newer doesn't like some of the stuff with the fedora nash stuff. mkinitrd and friends were updated multiple times to work with these newer kernels in the fedora 10 I was using. I worked around by changing root=LABEL to use root=/dev/foo in grub.conf
Quoted 24 lines
Quoted 24 lines
------------[ cut here ]------------ WARNING: at drivers/net/e1000e/ich8lan.c:408 e1000_acquire_swflag_ich8lan+0x51/0xf2() e1000e mutex contention. Owned by pid 10 Modules linked in: Pid: 9, comm: events/0 Not tainted 2.6.28.7 #1 Call Trace: [<ffffffff8103a810>] warn_slowpath+0xae/0xcd [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8104394b>] ? lock_timer_base+0x26/0x4a [<ffffffff8105d63f>] ? __lock_acquire+0x702/0x760 [<ffffffff8105bfc6>] ? mark_held_locks+0x50/0x6d [<ffffffff812dd950>] ? mutex_trylock+0x104/0x118 [<ffffffff8105c170>] ? trace_hardirqs_on_caller+0xf8/0x123 [<ffffffff8105c1a8>] ? trace_hardirqs_on+0xd/0xf [<ffffffff811ed838>] e1000_acquire_swflag_ich8lan+0x51/0xf2 [<ffffffff811f2fe9>] e1000e_read_kmrn_reg+0x1b/0x69 [<ffffffff811f63c5>] ? e1000e_downshift_workaround+0x0/0x12 [<ffffffff811ed1e9>] e1000e_gig_downshift_workaround_ich8lan+0x2c/0x71 [<ffffffff811f63d5>] e1000e_downshift_workaround+0x10/0x12 [<ffffffff8104a6ed>] run_workqueue+0xf5/0x1fd [<ffffffff8104a697>] ? run_workqueue+0x9f/0x1fd [<ffffffff8104a8f6>] ?
Quoted 8 lines
Quoted 8 lines
worker_thread+0x0/0xe8 [<ffffffff8104a9d1>] worker_thread+0xdb/0xe8 [<ffffffff8104de14>] ? autoremove_wake_function+0x0/0x36 [<ffffffff8104a8f6>] ? worker_thread+0x0/0xe8 [<ffffffff8104db1a>] kthread+0x44/0x6b [<ffffffff8100cf59>] child_rip+0xa/0x11 [<ffffffff8100c474>] ? restore_args+0x0/0x30 [<ffffffff8104dad6>] ? kthread+0x0/0x6b [<ffffffff8100cf4f>] ? child_rip+0x0/0x11
newer kernels have this fixed. This really is a warning as this is only telling you that it had to wait (but that the mutex worked!)
we've isolated all these warnings down to known SMP safe paths (and fixed the relevant issues) and have posted a patch to current net-next that removes the warning. don't have the commit handy but could probably chase it down.
so, WARNING is noisy but okay.
The tx hang you see is bad (as it appears to be a false hang since status is set correctly and you don't get a NETDEV_WATCHDOG)
Jesse
PS please include netdev on network related issues. :-)
Hello.
Quoted 8 lines · Jesse
Quoted 7 lines · Greg KH
Quoted 6 lines · Andrew Morton
I fired up this kernel up on my FC8 laptop and I see
http://userweb.kernel.org/~akpm/p3130212.jpgOn the next two boot attempts, the kernel came up OK.
That picture may be caused by /dev/root being automatically disappeared.
https://bugzilla.redhat.com/show_bug.cgi?id=488679
Quoted 4 lines
root issue:
seems that something with the 2.6.newer doesn't like some of the stuff with the fedora nash stuff. mkinitrd and friends were updated multiple times to work with these newer kernels in the fedora 10 I was using. I worked around by changing root=LABEL to use root=/dev/foo in grub.conf
I don't experience this problem with Debian Sarge. I think it is Fedora's nash problem.