1. 20 4月, 2008 1 次提交
    • D
      sysfs: refill attribute buffer when reading from offset 0 · 2424b5dd
      Dan Williams 提交于
      Requiring userspace to close and re-open sysfs attributes has been the
      policy since before 2.6.12.  It allows userspace to get a consistent
      snapshot of kernel state and consume it with incremental reads and seeks.
      
      Now, if the file position is zero the kernel assumes userspace wants to see
      the new value.  The application for this change is to allow a userspace
      RAID metadata handler to check the state of an array without causing any
      memory allocations.  Thus not causing writeback to a raid array that might
      be blocked waiting for userspace to take action.
      
      Cc: Neil Brown <neilb@suse.de>
      Acked-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      2424b5dd
  2. 20 10月, 2007 1 次提交
  3. 04 10月, 2006 1 次提交
  4. 26 4月, 2006 1 次提交
  5. 06 9月, 2005 2 次提交
  6. 21 6月, 2005 1 次提交
  7. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4