1. 01 12月, 2006 2 次提交
    • M
      [PATCH] block: kill length alignment test in bio_map_user() · ad2d7225
      Mike Christie 提交于
      The target mode support is mapping in bios using bio_map_user. The
      current targets do not need their len to be aligned with a queue limit
      so this check is causing some problems. Note: pointers passed into the
      kernel are properly aligned by usersapace tgt code so the uaddr check
      in bio_map_user is ok.
      
      The major user, blk_bio_map_user checks for the len before mapping
      so it is not affected by this patch.
      
      And the semi-newly added user blk_rq_map_user_iov has been failing
      out when the len is not aligned properly so maybe people have been
      good and not sending misaligned lens or that path is not used very
      often and this change will not be very dangerous. st and sg do not
      check the length and we have not seen any problem reports from those
      wider used paths so this patch should be fairly safe - for mm
      and wider testing at least.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      ad2d7225
    • O
      [PATCH] blktrace: add timestamp message · be1c6341
      Olaf Kirch 提交于
      This adds a new timestamp message to blktrace, giving the timeofday when
      we starting tracing. This helps user space correlate block trace events
      with eg an application strace.
      
      This requires a (compatible) update to blkparse. The changed blkparse
      is still able to process traces generated by older kernels, and older
      versions of blkparse should silently ignore the new records (because
      they have a pid of 0).
      Signed-off-by: NOlaf Kirch <okir@suse.de>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      be1c6341
  2. 30 11月, 2006 5 次提交
  3. 29 11月, 2006 24 次提交
  4. 28 11月, 2006 9 次提交