index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
block
/
nbd.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-01
nbd: use the atomic queue limits API in nbd_set_size
Christoph Hellwig
1
-4
/
+11
2024-03-01
nbd: freeze the queue for queue limits updates
Christoph Hellwig
1
-1
/
+13
2024-03-01
nbd: don't clear discard_sectors in nbd_config_put
Christoph Hellwig
1
-1
/
+2
2024-02-19
nbd: pass queue_limits to blk_mq_alloc_disk
Christoph Hellwig
1
-6
/
+7
2024-02-18
nbd: null check for nla_nest_start
Navid Emamdoost
1
-0
/
+6
2024-02-13
block: pass a queue_limits argument to blk_mq_alloc_disk
Christoph Hellwig
1
-1
/
+1
2024-01-17
nbd: always initialize struct msghdr completely
Eric Dumazet
1
-5
/
+1
2023-12-29
nbd: use the default discard granularity
Christoph Hellwig
1
-5
/
+1
2023-11-21
nbd: pass nbd_sock to nbd_read_reply() instead of index
Li Nan
1
-13
/
+22
2023-11-20
nbd: fix null-ptr-dereference while accessing 'nbd->config'
Li Nan
1
-1
/
+17
2023-11-20
nbd: factor out a helper to get nbd_config without holding 'config_lock'
Li Nan
1
-8
/
+19
2023-11-20
nbd: fold nbd config initialization into nbd_alloc_config()
Li Nan
1
-22
/
+19
2023-11-07
nbd: fix uaf in nbd_open
Li Lingfeng
1
-2
/
+9
2023-10-03
nbd: don't call blk_mark_disk_dead nbd_clear_sock_ioctl
Christoph Hellwig
1
-1
/
+2
2023-08-29
Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linux
Linus Torvalds
1
-0
/
+1
2023-08-21
nbd: call blk_mark_disk_dead in nbd_clear_sock_ioctl
Christoph Hellwig
1
-5
/
+3
2023-07-17
nbd: automatically load module on genl access
Thomas Weißschuh
1
-0
/
+1
2023-06-12
block: replace fmode_t with a block-specific type for block open flags
Christoph Hellwig
1
-2
/
+2
2023-06-12
block: remove the unused mode argument to ->release
Christoph Hellwig
1
-1
/
+1
2023-06-12
block: pass a gendisk to ->open
Christoph Hellwig
1
-4
/
+4
2023-06-07
nbd: Add the maximum limit of allocated index in nbd_dev_add
Zhong Jinghua
1
-1
/
+2
2023-05-12
nbd: Fix debugfs_create_dir error checking
Ivan Orlov
1
-2
/
+2
2023-04-27
block nbd: use req.cookie instead of req.handle
Eric Blake
1
-3
/
+3
2023-04-25
block/drivers: remove dead clear of random flag
Chaitanya Kulkarni
1
-1
/
+0
2023-04-20
nbd: fix incomplete validation of ioctl arg
Zhong Jinghua
1
-0
/
+6
2023-03-14
nbd: use the structured req attr check
Jakub Kicinski
1
-4
/
+4
2023-03-14
nbd: allow genl access outside init_net
Jakub Kicinski
1
-0
/
+1
2022-12-19
Treewide: Stop corrupting socket's task_frag
Benjamin Coddington
1
-0
/
+1
2022-11-25
use less confusing names for iov_iter direction initializers
Al Viro
1
-5
/
+5
2022-10-07
Merge tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-2
/
+0
2022-10-07
Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linux
Linus Torvalds
1
-2
/
+4
2022-09-24
nbd: remove define-only NBD_MAGIC, previously magic number
наб
1
-2
/
+0
2022-09-08
nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
Shigeru Yoshida
1
-2
/
+4
2022-08-29
genetlink: start to validate reserved header bytes
Jakub Kicinski
1
-0
/
+1
2022-08-02
nbd: add missing definition of pr_fmt
Yu Kuai
1
-2
/
+4
2022-07-06
blk-mq: Drop 'reserved' arg of busy_tag_iter_fn
John Garry
1
-1
/
+1
2022-07-06
blk-mq: Drop blk_mq_ops.timeout 'reserved' arg
John Garry
1
-2
/
+1
2022-06-28
block: remove blk_cleanup_disk
Christoph Hellwig
1
-2
/
+2
2022-05-27
nbd: use pr_err to output error message
Yu Kuai
1
-22
/
+18
2022-05-27
nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
Zhang Wensheng
1
-11
/
+12
2022-05-27
nbd: fix io hung while disconnecting device
Yu Kuai
1
-1
/
+1
2022-05-27
nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed
Yu Kuai
1
-4
/
+14
2022-05-27
nbd: fix race between nbd_alloc_config() and module removal
Yu Kuai
1
-9
/
+19
2022-05-27
nbd: call genl_unregister_family() first in nbd_cleanup()
Yu Kuai
1
-1
/
+6
2022-05-16
nbd: Fix hung on disconnect request if socket is closed before
Xie Yongji
1
-4
/
+9
2022-05-03
nbd: don't set the discard_alignment queue limit
Christoph Hellwig
1
-3
/
+0
2022-04-18
block: add a disk_openers helper
Christoph Hellwig
1
-2
/
+2
2022-04-18
nbd: use the correct block_device in nbd_bdev_reset
Christoph Hellwig
1
-7
/
+7
2022-04-17
block: remove QUEUE_FLAG_DISCARD
Christoph Hellwig
1
-4
/
+1
2022-04-02
Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"
Jens Axboe
1
-12
/
+12
2022-03-31
nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
Zhang Wensheng
1
-12
/
+12
2021-11-09
Merge tag 'for-5.16/drivers-2021-11-09' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-23
/
+21
2021-11-02
nbd: error out if socket index doesn't match in nbd_handle_reply()
Yu Kuai
1
-0
/
+2
2021-11-02
nbd: Fix hungtask when nbd_config_put
Ye Bin
1
-20
/
+16
2021-11-02
nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
Ye Bin
1
-1
/
+1
2021-11-02
nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
Yu Kuai
1
-3
/
+3
2021-11-02
nbd: fix max value for 'first_minor'
Yu Kuai
1
-3
/
+3
2021-11-01
Merge tag 'for-5.16/drivers-2021-10-29' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-49
/
+112
2021-10-27
nbd: Use blk_validate_block_size() to validate block size
Xie Yongji
1
-1
/
+2
2021-10-21
nbd: Use invalidate_disk() helper on disconnect
Xie Yongji
1
-9
/
+3
2021-10-20
nbd: Fix use-after-free in pid_show
Ye Bin
1
-9
/
+9
2021-10-18
nbd: fix uaf in nbd_handle_reply()
Yu Kuai
1
-1
/
+17
2021-10-18
nbd: partition nbd_read_stat() into nbd_read_reply() and nbd_handle_reply()
Yu Kuai
1
-30
/
+44
2021-10-18
nbd: clean up return value checking of sock_xmit()
Yu Kuai
1
-6
/
+7
2021-10-18
nbd: don't start request if nbd_queue_rq() failed
Yu Kuai
1
-3
/
+0
2021-10-18
nbd: check sock index in nbd_read_stat()
Yu Kuai
1
-0
/
+4
2021-10-18
nbd: make sure request completion won't concurrent
Yu Kuai
1
-2
/
+9
2021-10-18
nbd: don't handle response without a corresponding request message
Yu Kuai
1
-1
/
+21
2021-10-18
nbd: add error handling support for add_disk()
Luis Chamberlain
1
-1
/
+5
2021-09-29
nbd: use shifts rather than multiplies
Nick Desaulniers
1
-12
/
+17
2021-08-30
Merge tag 'for-5.15/drivers-2021-08-30' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-79
/
+99
2021-08-25
nbd: remove nbd->destroy_complete
Christoph Hellwig
1
-38
/
+14
2021-08-25
nbd: only return usable devices from nbd_find_unused
Christoph Hellwig
1
-7
/
+9
2021-08-25
nbd: set nbd->index before releasing nbd_index_mutex
Tetsuo Handa
1
-1
/
+1
2021-08-25
nbd: prevent IDR lookups from finding partially initialized devices
Tetsuo Handa
1
-1
/
+10
2021-08-25
nbd: reset NBD to NULL when restarting in nbd_genl_connect
Christoph Hellwig
1
-14
/
+18
2021-08-25
nbd: add missing locking to the nbd_dev_add error path
Tetsuo Handa
1
-0
/
+2
2021-08-16
block: nbd: add sanity check for first_minor
Pavel Skripkin
1
-0
/
+10
2021-08-13
nbd: reduce the nbd_index_mutex scope
Christoph Hellwig
1
-27
/
+28
2021-08-13
nbd: refactor device search and allocation in nbd_genl_connect
Christoph Hellwig
1
-31
/
+14
2021-08-13
nbd: return the allocated nbd_device from nbd_dev_add
Christoph Hellwig
1
-12
/
+9
2021-08-13
nbd: remove nbd_del_disk
Christoph Hellwig
1
-12
/
+5
2021-08-13
nbd: refactor device removal
Christoph Hellwig
1
-24
/
+13
2021-08-13
nbd: do del_gendisk() asynchronously for NBD_DESTROY_ON_DISCONNECT
Hou Tao
1
-9
/
+61
2021-08-13
nbd: add the check to prevent overflow in __nbd_ioctl()
Baokun Li
1
-2
/
+4
2021-08-13
nbd: Aovid double completion of a request
Xie Yongji
1
-3
/
+11
2021-07-15
nbd: fix order of cleaning up the queue and freeing the tagset
Wang Qing
1
-1
/
+1
2021-06-30
nbd: provide a way for userspace processes to identify device backends
Prasanna Kumar Kalever
1
-1
/
+59
2021-06-11
nbd: use blk_mq_alloc_disk and blk_cleanup_disk
Christoph Hellwig
1
-32
/
+21
2021-05-12
nbd: share nbd_put and return by goto put_nbd
Sun Ke
1
-4
/
+3
2021-05-12
nbd: Fix NULL pointer in flush_workqueue
Sun Ke
1
-1
/
+2
2021-02-22
nbd: handle device refs for DESTROY_ON_DISCONNECT properly
Josef Bacik
1
-13
/
+19
2021-02-21
Merge tag 'for-5.12/drivers-2021-02-17' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-24
/
+4
2021-02-10
nbd: Convert to DEFINE_SHOW_ATTRIBUTE
Liao Pingfang
1
-24
/
+4
2021-01-25
nbd: freeze the queue while we're adding connections
Josef Bacik
1
-0
/
+8
2020-12-17
nbd: Respect max_part for all partition scans
Josh Triplett
1
-3
/
+6
2020-12-01
block: stop using bdget_disk for partition 0
Christoph Hellwig
1
-3
/
+1
2020-12-01
block: remove the nr_sects field in struct hd_struct
Christoph Hellwig
1
-1
/
+1
2020-11-16
nbd: use set_capacity_and_notify
Christoph Hellwig
1
-12
/
+3
2020-11-16
nbd: validate the block size in nbd_set_size
Christoph Hellwig
1
-32
/
+15
2020-11-16
nbd: refactor size updates
Christoph Hellwig
1
-26
/
+18
2020-11-16
nbd: move the task_recv check into nbd_size_update
Christoph Hellwig
1
-3
/
+7
2020-11-16
nbd: remove the call to set_blocksize
Christoph Hellwig
1
-7
/
+5
2020-11-10
nbd: fix a block_device refcount leak in nbd_release
Christoph Hellwig
1
-0
/
+1
2020-10-29
nbd: don't update block size after device is started
Ming Lei
1
-4
/
+5
2020-10-24
Merge tag 'block-5.10-2020-10-24' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-1
/
+1
2020-10-15
Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...
Linus Torvalds
1
-3
/
+3
2020-10-14
nbd: make the config put is called before the notifying the waiter
Xiubo Li
1
-1
/
+1
2020-10-02
genetlink: move to smaller ops wherever possible
Jakub Kicinski
1
-3
/
+3
2020-09-23
block: move the NEED_PART_SCAN flag to struct gendisk
Christoph Hellwig
1
-4
/
+4
2020-09-02
block: rename bd_invalidated
Christoph Hellwig
1
-4
/
+4
2020-09-01
block: replace bd_set_size with bd_set_nr_sectors
Christoph Hellwig
1
-3
/
+4
2020-08-26
nbd: restore default timeout when setting it to zero
Hou Pu
1
-0
/
+2
2020-08-03
Merge tag 'for-5.9/block-20200802' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-1
/
+4
2020-07-08
nbd: Fix memory leak in nbd_add_socket
Zheng Bin
1
-10
/
+15
2020-06-24
blk-mq: move failure injection out of blk_mq_complete_request
Christoph Hellwig
1
-1
/
+4
2020-03-12
nbd: requeue command if the soecket is changed
Hou Pu
1
-0
/
+10
2020-03-12
nbd: enable replace socket if only one connection is configured
Hou Pu
1
-8
/
+9
2020-01-29
nbd: add a flush_workqueue in nbd_start_device
Sun Ke
1
-0
/
+10
2019-12-16
nbd: fix shutdown and recv work deadlock v2
Mike Christie
1
-3
/
+3
2019-11-25
Merge tag 'for-5.5/drivers-post-20191122' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-2
/
+3
2019-11-21
nbd: prevent memory leak
Navid Emamdoost
1
-2
/
+3
2019-11-19
nbd:fix memory leak in nbd_get_socket()
Sun Ke
1
-0
/
+1
2019-10-25
nbd: verify socket is supported during setup
Mike Christie
1
-2
/
+21
2019-10-25
nbd: handle racing with error'ed out commands
Josef Bacik
1
-0
/
+6
2019-10-25
nbd: protect cmd->status with cmd->lock
Josef Bacik
1
-5
/
+7
2019-10-10
nbd: fix possible sysfs duplicate warning
Xiubo Li
1
-1
/
+1
2019-09-17
nbd: fix possible page fault for nbd disk
Xiubo Li
1
-0
/
+36
2019-09-17
nbd: rename the runtime flags as NBD_RT_ prefixed
Xiubo Li
1
-37
/
+37
2019-08-20
nbd: fix max number of supported devs
Mike Christie
1
-14
/
+25
2019-08-20
nbd: fix zero cmd timeout handling v2
Mike Christie
1
-6
/
+23
2019-08-20
nbd: add missing config put
Mike Christie
1
-1
/
+3
2019-08-20
nbd: add function to convert blk req op to nbd cmd
Mike Christie
1
-15
/
+18
2019-08-20
nbd: add set cmd timeout helper
Mike Christie
1
-14
/
+14
2019-07-31
nbd: replace kill_bdev() with __invalidate_device() again
Munehisa Kamata
1
-1
/
+1
2019-07-10
nbd: add netlink reconfigure resize support
Mike Christie
1
-16
/
+32
2019-07-10
nbd: fix crash when the blksize is zero
Xiubo Li
1
-3
/
+20
2019-05-30
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 127
Thomas Gleixner
1
-2
/
+1
2019-04-28
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
David S. Miller
1
-0
/
+13
2019-04-27
genetlink: optionally validate strictly/dumps
Johannes Berg
1
-0
/
+4
2019-04-27
netlink: make validation more configurable for future strictness
Johannes Berg
1
-4
/
+8
2019-04-27
netlink: make nla_nest_start() add NLA_F_NESTED flag
Michal Kubecek
1
-2
/
+2
2019-04-26
nbd: add tracepoints for send/receive timing
Andrew Hall
1
-0
/
+8
2019-04-26
nbd: trace sending nbd requests
Matt Mullins
1
-0
/
+5
2019-03-22
genetlink: make policy common to family
Johannes Berg
1
-4
/
+1
2019-02-28
nbd: propagate genlmsg_reply return code
Li RongQing
1
-2
/
+1
2019-02-15
block: kill BLK_MQ_F_SG_MERGE
Ming Lei
1
-1
/
+1
2019-01-15
nbd: Use set_blocksize() to set device blocksize
Jan Kara
1
-2
/
+3
2018-11-08
blk-mq-tag: change busy_iter_fn to return whether to continue or not
Jens Axboe
1
-1
/
+2
2018-10-24
iov_iter: Separate type from direction and use accessor functions
David Howells
1
-7
/
+5
2018-09-04
nbd: don't allow invalid blocksize settings
Jens Axboe
1
-0
/
+3
2018-08-02
Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-17
/
+79
2018-07-20
nbd: constify nla_policy
Stephen Hemminger
1
-3
/
+3
2018-07-16
nbd: handle unexpected replies better
Josef Bacik
1
-14
/
+61
2018-07-16
nbd: don't requeue the same request twice.
Josef Bacik
1
-3
/
+18
2018-06-20
nbd: Add the nbd NBD_DISCONNECT_ON_CLOSE config flag.
Doron Roberts-Kedes
1
-8
/
+34
2018-06-05
nbd: set discard_alignment to the granularity
Josef Bacik
1
-0
/
+3
2018-06-05
nbd: Consistently use request pointer in debug messages.
Kevin Vigor
1
-5
/
+5
2018-05-30
blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter
Christoph Hellwig
1
-4
/
+1
2018-05-30
nbd: clear DISCONNECT_REQUESTED flag once disconnection occurs.
Kevin Vigor
1
-6
/
+15
2018-05-29
nbd: complete requests from ->timeout
Christoph Hellwig
1
-3
/
+4
2018-05-29
block: rename BLK_EH_NOT_HANDLED to BLK_EH_DONE
Christoph Hellwig
1
-1
/
+1
2018-05-24
block drivers/block: Use octal not symbolic permissions
Joe Perches
1
-1
/
+1
2018-05-23
nbd: set discard granularity properly
Josef Bacik
1
-2
/
+8
2018-05-22
block/ndb: add WQ_UNBOUND to the knbd-recv workqueue
Dan Melnic
1
-1
/
+2
2018-05-16
nbd: call nbd_bdev_reset instead of bd_set_size on disconnect
Josef Bacik
1
-1
/
+1
2018-05-16
nbd: fix how we set bd_invalidated
Josef Bacik
1
-4
/
+3
2018-05-16
nbd: clear_sock on netlink disconnect
Josef Bacik
1
-0
/
+1
2018-05-16
nbd: use bd_set_size when updating disk size
Josef Bacik
1
-1
/
+9
2018-05-16
nbd: update size when connected
Josef Bacik
1
-0
/
+2
2018-05-16
nbd: fix nbd device deletion
Josef Bacik
1
-1
/
+4
2018-03-08
block: Use blk_queue_flag_*() in drivers instead of queue_flag_*()
Bart Van Assche
1
-4
/
+4
2018-02-27
nbd: fix return value in error handling path
Gustavo A. R. Silva
1
-1
/
+1
2017-11-14
Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-16
/
+10
2017-11-06
nbd: don't start req until after the dead connection logic
Josef Bacik
1
-13
/
+7
2017-11-06
nbd: wait uninterruptible for the dead timeout
Josef Bacik
1
-3
/
+3
2017-10-24
nbd: handle interrupted sendmsg with a sndtimeo set
Josef Bacik
1
-2
/
+11
2017-10-09
nbd: don't set the device size until we're connected
Josef Bacik
1
-1
/
+1
2017-10-02
nbd: fix -ERESTARTSYS handling
Josef Bacik
1
-1
/
+5
2017-09-25
nbd: ignore non-nbd ioctl's
Josef Bacik
1
-0
/
+6
2017-08-28
nbd: make device_attribute const
Bhumika Goyal
1
-1
/
+1
2017-08-17
nbd: change the default nbd partitions
Josef Bacik
1
-2
/
+2
2017-08-17
nbd: allow device creation at a specific index
Josef Bacik
1
-0
/
+9
2017-07-25
nbd: clear disconnected on reconnect
Josef Bacik
1
-0
/
+2
2017-07-22
nbd: only set sndtimeo if we have a timeout set
Josef Bacik
1
-2
/
+5
2017-07-22
nbd: take tx_lock before disconnecting
Josef Bacik
1
-0
/
+4
2017-07-22
nbd: allow multiple disconnects to be sent
Josef Bacik
1
-3
/
+2
2017-07-13
nbd: kill unused ret in recv_work
Kefeng Wang
1
-2
/
+0
2017-07-06
nbd: quiesce request queues to make sure no submissions are inflight
Sagi Grimberg
1
-2
/
+2
2017-06-12
Merge tag 'v4.12-rc5' into for-4.13/block
Jens Axboe
1
-10
/
+5
2017-06-09
blk-mq: switch ->queue_rq return value to blk_status_t
Christoph Hellwig
1
-8
/
+4
2017-06-09
block: introduce new block status code type
Christoph Hellwig
1
-7
/
+7
2017-06-09
nbd: set sk->sk_sndtimeo for our sockets
Josef Bacik
1
-0
/
+2
2017-05-30
nbd: add FUA op support
Shaun McDowell
1
-3
/
+13
2017-05-30
nbd: don't leak nbd_config
Ilya Dryomov
1
-0
/
+1
2017-05-30
nbd: nbd_reset() call in nbd_dev_add() is redundant
Ilya Dryomov
1
-10
/
+4
2017-05-08
treewide: convert PF_MEMALLOC manipulations to new helpers
Vlastimil Babka
1
-3
/
+4
2017-05-06
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-4
/
+3
2017-05-02
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Linus Torvalds
1
-2
/
+2
2017-05-02
blk-mq: update ->init_request and ->exit_request prototypes
Christoph Hellwig
1
-4
/
+3
[next]