1. 20 11月, 2014 1 次提交
  2. 04 11月, 2014 1 次提交
  3. 01 11月, 2014 1 次提交
  4. 31 10月, 2014 1 次提交
    • D
      Return short read or 0 at end of a raw device, not EIO · b2de525f
      David Jeffery 提交于
      Author: David Jeffery <djeffery@redhat.com>
      Changes to the basic direct I/O code have broken the raw driver when reading
      to the end of a raw device.  Instead of returning a short read for a read that
      extends partially beyond the device's end or 0 when at the end of the device,
      these reads now return EIO.
      
      The raw driver needs the same end of device handling as was added for normal
      block devices.  Using blkdev_read_iter, which has the needed size checks,
      prevents the EIO conditions at the end of the device.
      Signed-off-by: NDavid Jeffery <djeffery@redhat.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      b2de525f
  5. 29 10月, 2014 1 次提交
    • D
      staging: android: logger: Fix log corruption regression · 5fecf3a1
      Daniel Thompson 提交于
      Since commit cd678fce ("switch logger to ->write_iter()"), any
      attempt to write to the log results in the log data being written over
      its own metadata, thus rendering the log unreadable.
      
      The problem was first detected when I ran an Android userspace on the
      v3.18-rc1 kernel. However the issue can also be observed with a
      non-Android userspace by using echo/cat to write to/from /dev/log_main .
      
      This patch resolves the problem by using a temporary to track the status
      of not-yet-committed writes to the log buffer.
      Signed-off-by: NDaniel Thompson <daniel.thompson@linaro.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      5fecf3a1
  6. 24 10月, 2014 9 次提交
  7. 23 10月, 2014 3 次提交
  8. 22 10月, 2014 3 次提交
  9. 21 10月, 2014 20 次提交