1. 19 2月, 2014 1 次提交
  2. 25 10月, 2013 1 次提交
  3. 24 8月, 2013 1 次提交
  4. 27 6月, 2013 1 次提交
  5. 10 5月, 2013 1 次提交
  6. 03 5月, 2013 1 次提交
  7. 12 4月, 2013 1 次提交
  8. 29 3月, 2013 1 次提交
  9. 07 2月, 2013 1 次提交
  10. 29 1月, 2013 1 次提交
  11. 11 9月, 2012 1 次提交
  12. 09 9月, 2012 1 次提交
  13. 20 7月, 2012 1 次提交
  14. 30 6月, 2012 1 次提交
    • P
      netlink: add netlink_kernel_cfg parameter to netlink_kernel_create · a31f2d17
      Pablo Neira Ayuso 提交于
      This patch adds the following structure:
      
      struct netlink_kernel_cfg {
              unsigned int    groups;
              void            (*input)(struct sk_buff *skb);
              struct mutex    *cb_mutex;
      };
      
      That can be passed to netlink_kernel_create to set optional configurations
      for netlink kernel sockets.
      
      I've populated this structure by looking for NULL and zero parameters at the
      existing code. The remaining parameters that always need to be set are still
      left in the original interface.
      
      That includes optional parameters for the netlink socket creation. This allows
      easy extensibility of this interface in the future.
      
      This patch also adapts all callers to use this new interface.
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a31f2d17
  15. 25 6月, 2012 1 次提交
    • T
      block: drop custom queue draining used by scsi_transport_{iscsi|fc} · 86072d81
      Tejun Heo 提交于
      iscsi_remove_host() uses bsg_remove_queue() which implements custom
      queue draining.  fc_bsg_remove() open-codes mostly identical logic.
      
      The draining logic isn't correct in that blk_stop_queue() doesn't
      prevent new requests from being queued - it just stops processing, so
      nothing prevents new requests to be queued after the logic determines
      that the queue is drained.
      
      blk_cleanup_queue() now implements proper queue draining and these
      custom draining logics aren't necessary.  Drop them and use
      bsg_unregister_queue() + blk_cleanup_queue() instead.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
      Acked-by: NVivek Goyal <vgoyal@redhat.com>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: James Smart <james.smart@emulex.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      86072d81
  16. 27 3月, 2012 1 次提交
  17. 01 3月, 2012 2 次提交
  18. 19 2月, 2012 5 次提交
  19. 04 1月, 2012 1 次提交
  20. 15 12月, 2011 1 次提交
    • M
      [SCSI] iscsi class: export pid of process that created · 0c70d84b
      Mike Christie 提交于
      There could be multiple userspace entities creating/destroying/
      recoverying sessions and also the kernel's iscsi drivers could
      be doing this too. If the userspace apps do try to manage the kernel
      ones it can get the driver/fw out of sync and cause the user to
      loose the root disk, oopses or ping ponging becasue userspace
      wants to do one thing but the kernel manager thought we
      are trying to do another.
      
      This patch fixes the problem by just exporting the pid of
      the entity that created the session. Userspace programs like
      iscsid, iscsiadm, iscsistart, qlogic's tools, etc, can then
      figure out which sessions they own and only manage them.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      0c70d84b
  21. 03 11月, 2011 1 次提交
  22. 20 10月, 2011 4 次提交
  23. 27 8月, 2011 10 次提交