1. 25 10月, 2011 4 次提交
  2. 20 10月, 2011 12 次提交
  3. 18 10月, 2011 1 次提交
  4. 17 10月, 2011 2 次提交
  5. 15 10月, 2011 4 次提交
  6. 14 10月, 2011 8 次提交
  7. 13 10月, 2011 4 次提交
  8. 12 10月, 2011 3 次提交
  9. 11 10月, 2011 2 次提交
    • C
      Btrfs: make sure not to defrag extents past i_size · f7f43cc8
      Chris Mason 提交于
      The btrfs file defrag code will loop through the extents and
      force COW on them.  But there is a concurrent truncate in the middle of
      the defrag, it might end up defragging the same range over and over
      again.
      
      The problem is that writepage won't go through and do anything on pages
      past i_size, so the cow won't happen, so the file will appear to still
      be fragmented.  defrag will end up hitting the same extents again and
      again.
      
      In the worst case, the truncate can actually live lock with the defrag
      because the defrag keeps creating new ordered extents which the truncate
      code keeps waiting on.
      
      The fix here is to make defrag check for i_size inside the main loop,
      instead of just once before the looping starts.
      Signed-off-by: NChris Mason <chris.mason@oracle.com>
      f7f43cc8
    • A
      x86: Default to vsyscall=native for now · 2b666859
      Adrian Bunk 提交于
      This UML breakage:
      
        linux-2.6.30.1[3800] vsyscall fault (exploit attempt?) ip:ffffffffff600000 cs:33 sp:7fbfb9c498 ax:ffffffffff600000 si:0 di:606790
        linux-2.6.30.1[3856] vsyscall fault (exploit attempt?) ip:ffffffffff600000 cs:33 sp:7fbfb13168 ax:ffffffffff600000 si:0 di:606790
      
      Is caused by commit 3ae36655 ("x86-64: Rework vsyscall emulation and add
      vsyscall= parameter") - the vsyscall emulation code is not fully cooked
      yet as UML relies on some rather fragile SIGSEGV semantics.
      
      Linus suggested in https://lkml.org/lkml/2011/8/9/376 to default
      to vsyscall=native for now, this patch implements that.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NAndrew Lutomirski <luto@mit.edu>
      Cc: H. Peter Anvin <hpa@linux.intel.com>
      Link: http://lkml.kernel.org/r/20111005214047.GE14406@localhost.pp.htv.fiSigned-off-by: NIngo Molnar <mingo@elte.hu>
      2b666859