1. 28 8月, 2008 5 次提交
    • L
      Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block · 0559bc8e
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
        block: remove blk_queue_tag_depth() and blk_queue_tag_queue()
        block: remove unused ->busy part of the block queue tag map
        bio: fix __bio_copy_iov() handling of bio->bv_len
        bio: fix bio_copy_kern() handling of bio->bv_len
        block: submit_bh() inadvertently discards barrier flag on a sync write
        block: clean up cmdfilter sysfs interface
        block: rename blk_scsi_cmd_filter to blk_cmd_filter
        sg: restore command permission for TYPE_SCANNER
        block: move cmdfilter from gendisk to request_queue
      0559bc8e
    • L
      Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2 · e472233f
      Linus Torvalds 提交于
      * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
        ocfs2: Increment the reference count of an already-active stack.
        [PATCH] configfs: Consolidate locking around configfs_detach_prep() in configfs_rmdir()
        ocfs2: correctly set i_blocks after inline dir gets expanded
        ocfs2: Jump to correct label in ocfs2_expand_inline_dir()
        ocfs2: Fix sleep-with-spinlock recovery regression
        [PATCH] ocfs2/cluster/netdebug.c: fix warning
        [PATCH] ocfs2/cluster/tcp.c: make some functions static
      e472233f
    • L
      Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 72e19b3b
      Linus Torvalds 提交于
      * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
        [S390] dcss: fix build bug.
        [S390] Fix linker script.
      72e19b3b
    • S
      ftrace: disable tracing for suspend to ram · f42ac38c
      Steven Rostedt 提交于
      I've been painstakingly debugging the issue with suspend to ram and
      ftraced. The 2.6.28 code does not have this issue, but since the mcount
      recording is not going to be in 27, this must be solved for the ftrace
      daemon version.
      
      The resume from suspend to ram would reboot because it was triple
      faulting. Debugging further, I found that calling the mcount function
      itself was not an issue, but it would fault when it incremented
      preempt_count. preempt_count is on the tasks info structure that is on the
      low memory address of the task's stack.  For some reason, it could not
      write to it. Resuming out of suspend to ram does quite a lot of funny
      tricks to get to work, so it is not surprising at all that simply doing a
      preempt_disable() would cause a fault.
      
      Thanks to Rafael for suggesting to add a "while (1);" to find the place in
      resuming that is causing the fault. I would place the loop somewhere in
      the code, compile and reboot and see if it would either reboot (hit the
      fault) or simply hang (hit the loop).  Doing this over and over again, I
      narrowed it down that it was happening in enable_nonboot_cpus.
      
      At this point, I found that it is easier to simply disable tracing around
      the suspend code, instead of searching for the particular function that
      can not handle doing a preempt_disable.
      
      This patch disables the tracer as it suspends and reenables it on resume.
      
      I tested this patch on my Laptop, and it can resume fine with the patch.
      Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
      Acked-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f42ac38c
    • L
      Revert "pktcdvd: push BKL down into driver" · 8560c650
      Linus Torvalds 提交于
      This reverts commit 5b6155ee, because
      the block device ioctl's really aren't ready for it.
      
      In particular, the "struct file *" and the "struct inode *" arguments do
      not necessarily match, which means that the unlocked version of the
      ioctl (that only gets a "struct file *") isn't actually able to handle
      the cases it needs to handle.
      
      This fixes bugzilla
      
      	http://bugzilla.kernel.org/show_bug.cgi?id=11401Reported-and-bisected-by: NLaurent Riffard <laurent.riffard@free.fr>
      Acked-by: NPeter Osterlund <petero2@telia.com>
      Cc: Alan Cox <alan@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8560c650
  2. 27 8月, 2008 16 次提交
  3. 26 8月, 2008 19 次提交