aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/messenger.c
AgeCommit message (Expand)AuthorFilesLines
2026-04-22libceph: update outdated comment in ceph_sock_write_space()kexinsun1-2/+2
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-2/+1
2025-11-04net: Convert proto_ops connect() callbacks to use sockaddr_unsizedKees Cook1-1/+1
2025-10-10Merge tag 'ceph-for-6.18-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-5/+7
2025-10-08libceph: add empty check to ceph_con_get_out_msg()Max Kellermann1-1/+3
2025-10-08libceph: pass the message pointer instead of loading con->out_msgMax Kellermann1-2/+2
2025-10-08libceph: make ceph_con_get_out_msg() return the message pointerMax Kellermann1-2/+2
2025-09-22net: WQ_PERCPU added to alloc_workqueue usersMarco Crivellari1-1/+2
2025-09-10libceph: fix invalid accesses to ceph_connection_v1_infoIlya Dryomov1-3/+4
2024-08-27libceph: use min() to simplify code in ceph_dns_resolve_name()Li Zetao1-1/+1
2023-10-09libceph: use kernel_connect()Jordan Rife1-2/+2
2023-08-22libceph: add new iov_iter-based ceph_msg_data_type and ceph_osd_data_typeJeff Layton1-0/+77
2023-08-22libceph: new sparse_read op, support sparse reads on msgr2 crc codepathJeff Layton1-0/+1
2023-07-26rbd: harden get_lock_owner_info() a bitIlya Dryomov1-0/+1
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+4
2022-12-19Treewide: Stop corrupting socket's task_fragBenjamin Coddington1-0/+1
2022-10-04libceph: drop last_piece flag from ceph_msg_data_cursorJeff Layton1-35/+5
2022-02-02libceph: optionally use bounce buffer on recv path in crc modeIlya Dryomov1-0/+4
2022-01-20Merge tag 'ceph-for-5.17-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-7/+8
2022-01-15mm: allow !GFP_KERNEL allocations for kvmallocMichal Hocko1-1/+1
2022-01-13libceph: generalize addr/ip parsing based on delimiterVenky Shankar1-7/+8
2020-12-14libceph, ceph: implement msgr2.1 protocol (crc and secure modes)Ilya Dryomov1-12/+56
2020-12-14libceph: move msgr1 protocol specific fields to its own structIlya Dryomov1-4/+4
2020-12-14libceph: move msgr1 protocol implementation to its own fileIlya Dryomov1-1495/+0
2020-12-14libceph: separate msgr1 protocol implementationIlya Dryomov1-50/+88
2020-12-14libceph: export remaining protocol independent infrastructureIlya Dryomov1-82/+75
2020-12-14libceph: export zero_pageIlya Dryomov1-8/+9
2020-12-14libceph: rename and export con->flags bitsIlya Dryomov1-43/+34
2020-12-14libceph: rename and export con->state statesIlya Dryomov1-51/+39
2020-12-14libceph: make con->state an intIlya Dryomov1-10/+6
2020-12-14libceph: don't export ceph_messenger_{init_fini}() to modulesIlya Dryomov1-2/+0
2020-12-14libceph: make sure our addr->port is zero and addr->nonce is non-zeroIlya Dryomov1-10/+17
2020-12-14libceph: factor out ceph_con_get_out_msg()Ilya Dryomov1-20/+39
2020-12-14libceph: change ceph_con_in_msg_alloc() to take hdrIlya Dryomov1-5/+6
2020-12-14libceph: change ceph_msg_data_cursor_init() to take cursorIlya Dryomov1-4/+3
2020-12-14libceph: handle discarding acked and requeued messages separatelyIlya Dryomov1-20/+54
2020-12-14libceph: drop msg->ack_stamp fieldIlya Dryomov1-1/+0
2020-12-14libceph: remove redundant session reset log messageIlya Dryomov1-4/+3
2020-12-14libceph: clear con->peer_global_seq on RESETSESSIONIlya Dryomov1-3/+3
2020-12-14libceph: rename reset_connection() to ceph_con_reset_session()Ilya Dryomov1-6/+4
2020-12-14libceph: split protocol reset bits out of reset_connection()Ilya Dryomov1-26/+24
2020-12-14libceph: don't call reset_connection() on version/feature mismatchesIlya Dryomov1-3/+0
2020-12-14libceph: lower exponential backoff delayIlya Dryomov1-3/+9
2020-12-14libceph: include middle_len in process_message() doutIlya Dryomov1-1/+2
2020-10-12libceph: clear con->out_msg on Policy::stateful_server faultsIlya Dryomov1-0/+5
2020-10-12libceph: format ceph_entity_addr nonces as unsignedIlya Dryomov1-3/+3
2020-10-12libceph: move a dout in queue_con_delay()Ilya Dryomov1-1/+1
2020-10-02libceph: use sendpage_ok() in ceph_tcp_sendpage()Coly Li1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-05-28tcp: add tcp_sock_set_nodelayChristoph Hellwig1-9/+2
2020-03-23libceph: fix alloc_msg_with_page_vector() memory leaksIlya Dryomov1-2/+7
2019-11-27libceph, rbd, ceph: convert to use the new mount APIDavid Howells1-2/+0
2019-09-16libceph: add function that reset client's entity addrYan, Zheng1-0/+6
2019-07-18Merge tag 'ceph-for-5.3-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-6/+8
2019-07-08libceph: rename ceph_encode_addr to ceph_encode_banner_addrJeff Layton1-3/+3
2019-07-08libceph: use TYPE_LEGACY for entity addrs instead of TYPE_NONEJeff Layton1-2/+5
2019-07-08libceph: fix sa_family just after reading addressJeff Layton1-3/+2
2019-06-27keys: Pass the network namespace into request_key mechanismDavid Howells1-1/+2
2019-05-16Merge tag 'afs-fixes-20190516' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2019-05-15dns_resolver: Allow used keys to be invalidatedDavid Howells1-1/+1
2019-05-07libceph: make ceph_pr_addr take an struct ceph_entity_addr pointerJeff Layton1-24/+24
2019-05-07libceph: fix unaligned accesses in ceph_entity_addr handlingJeff Layton1-40/+37
2019-03-25libceph: fix breakage caused by multipage bvecsIlya Dryomov1-2/+6
2019-02-18libceph: handle an empty authorize replyIlya Dryomov1-6/+9
2019-01-21libceph: avoid KEEPALIVE_PENDING races in ceph_con_keepalive()Ilya Dryomov1-2/+3
2018-12-26libceph: switch more to bool in ceph_tcp_sendmsg()Ilya Dryomov1-1/+1
2018-12-26libceph: use MSG_SENDPAGE_NOTLAST with ceph_tcp_sendpage()Ilya Dryomov1-4/+13
2018-12-26libceph: use sock_no_sendpage() as a fallback in ceph_tcp_sendpage()Ilya Dryomov1-26/+6
2018-12-26libceph: drop last_piece logic from write_partial_message_data()Ilya Dryomov1-5/+3
2018-11-19libceph: fall back to sendmsg for slab pagesIlya Dryomov1-3/+9
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-3/+3
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-3/+3
2018-10-22libceph: preallocate message data itemsIlya Dryomov1-67/+39
2018-10-22libceph: don't consume a ref on pagelist in ceph_msg_data_add_pagelist()Ilya Dryomov1-0/+1
2018-08-02libceph: check authorizer reply/challenge length before readingIlya Dryomov1-0/+7
2018-08-02libceph: add authorizer challengeIlya Dryomov1-1/+16
2018-08-02libceph: factor out __prepare_write_connect()Ilya Dryomov1-9/+12
2018-08-02libceph: store ceph_auth_handshake pointer in ceph_connectionIlya Dryomov1-28/+26
2018-08-02libceph: use timespec64 in for keepalive2 and ticket validityArnd Bergmann1-10/+10
2018-06-04libceph: use MSG_TRUNC for discarding received bytesIlya Dryomov1-13/+8
2018-06-04libceph: get rid of more_kvec in try_write()Ilya Dryomov1-7/+3
2018-04-26libceph: validate con->state at the top of try_write()Ilya Dryomov1-0/+7
2018-04-02libceph, ceph: add __init attribution to init funcitonsChengguang Xu1-3/+1
2018-04-02libceph: handle zero-length data itemsIlya Dryomov1-2/+12
2018-04-02libceph: introduce BVECS data typeIlya Dryomov1-0/+75
2018-04-02libceph, rbd: new bio handling code (aka don't clone bios)Ilya Dryomov1-67/+34
2017-11-13ceph: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-01libceph: don't call ->reencode_message() more than once per messageIlya Dryomov1-3/+3
2017-07-17libceph: potential NULL dereference in ceph_msg_data_create()Dan Carpenter1-2/+4
2017-07-07libceph: ceph_connection_operations::reencode_message() methodIlya Dryomov1-2/+5
2017-07-07libceph: remove ceph_sanitize_features() workaroundIlya Dryomov1-2/+1
2017-05-24libceph: cleanup old messages according to reconnect seqYan, Zheng1-3/+12
2017-05-23libceph: make ceph_msg_data_advance() return voidIlya Dryomov1-7/+4
2017-05-08fs: ceph: CURRENT_TIME with ktime_get_real_ts()Deepa Dinamani1-2/+4
2017-03-23libceph: force GFP_NOIO for socket allocationsIlya Dryomov1-0/+6
2017-03-02Merge branch 'work.sendmsg' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-15/+29
2017-01-14locking/atomic, kref: Add kref_read()Peter Zijlstra1-2/+2
2016-12-26ceph_tcp_sendpage(): use ITER_BVEC sendmsgAl Viro1-5/+15
2016-12-26ceph: switch to sock_recvmsg()Al Viro1-10/+14
2016-12-12libceph: no need to drop con->mutex for ->get_authorizer()Ilya Dryomov1-6/+0
2016-12-12libceph: drop len argument of *verify_authorizer_reply()Ilya Dryomov1-1/+1
2016-12-12libceph: verify authorize reply on connectIlya Dryomov1-0/+13
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-3/+3
2016-03-25libceph: use KMEM_CACHE macroGeliang Tang1-8/+2
2016-03-25libceph: use sizeof_footer() moreIlya Dryomov1-16/+3
2016-02-24libceph: use the right footer size when skipping a messageIlya Dryomov1-2/+9
2016-02-24libceph: don't bail early from try_read() when skipping a messageIlya Dryomov1-2/+2
2016-01-21libceph: clear messenger auth_retry flag if we faultIlya Dryomov1-3/+7
2016-01-21libceph: fix ceph_msg_revoke()Ilya Dryomov1-18/+58
2016-01-21libceph: use list_for_each_entry_safeGeliang Tang1-9/+3
2016-01-21libceph: use list_next_entry instead of list_entry_nextGeliang Tang1-5/+2
2015-11-02libceph: clear msg->con in ceph_msg_release() onlyIlya Dryomov1-25/+20
2015-11-02libceph: add nocephx_sign_messages optionIlya Dryomov1-1/+1
2015-11-02libceph: stop duplicating client fields in messengerIlya Dryomov1-17/+9
2015-11-02libceph: msg signing callouts don't need con argumentIlya Dryomov1-2/+2
2015-11-02libceph: use local variable cursor instead of &msg->cursorShraddha Barke1-6/+5
2015-09-17libceph: don't access invalid memory in keepalive2 pathIlya Dryomov1-4/+5
2015-09-09libceph: check data_len in ->alloc_msg()Ilya Dryomov1-7/+0
2015-09-08libceph: use keepalive2 to verify the mon session is aliveYan, Zheng1-5/+54
2015-09-08libceph: rename con_work() to ceph_con_workfn()Ilya Dryomov1-3/+3
2015-09-08libceph: Avoid holding the zero page on ceph_msgr_slab_init errorsBenoît Canet1-5/+5
2015-07-09libceph: treat sockaddr_storage with uninitialized family as blankIlya Dryomov1-7/+7
2015-07-09libceph: enable ceph in a non-default network namespaceIlya Dryomov1-1/+9
2015-07-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag...Linus Torvalds1-2/+1
2015-06-29libceph: Fix ceph_tcp_sendpage()'s more boolean usageBenoît Canet1-1/+1
2015-06-25libceph: Remove spurious kunmap() of the zero pageBenoît Canet1-1/+0
2015-05-11net: Add a struct net parameter to sock_create_kernEric W. Biederman1-2/+2
2015-04-20libceph: don't overwrite specific con error msgsIlya Dryomov1-12/+13
2015-04-07Revert "libceph: use memalloc flags for net IO"Ilya Dryomov1-8/+1
2015-02-19libceph: tcp_nodelay supportChaitanya Huilgol1-1/+13
2014-12-17libceph: message signature supportYan, Zheng1-3/+29
2014-12-17libceph: nuke ceph_kvfree()Ilya Dryomov1-1/+1
2014-10-30libceph: use memalloc flags for net IOMike Christie1-1/+9
2014-10-14libceph: ceph-msgr workqueue needs a resque workerIlya Dryomov1-1/+5
2014-10-14libceph: reference counting pagelistYan, Zheng1-3/+1
2014-10-14libceph: Convert pr_warning to pr_warnJoe Perches1-9/+9
2014-08-09libceph: set last_piece in ceph_msg_data_pages_cursor_init() correctlyIlya Dryomov1-1/+1
2014-07-08libceph: drop osd ref when canceling con workIlya Dryomov1-4/+10
2014-07-08libceph: move and add dout()s to ceph_msg_{get,put}()Ilya Dryomov1-9/+22
2014-05-16libceph: fix corruption when using page_count 0 page in rbdChunwei Chen1-1/+19
2014-04-11net: Fix use after free by removing length arg from sk_data_ready callbacks.David S. Miller1-1/+1
2014-04-04libceph: fix oops in ceph_msg_data_{pages,pagelist}_advance()Yan, Zheng1-0/+6
2014-02-07libceph: do not dereference a NULL bio pointerIlya Dryomov1-2/+6
2014-01-30Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-26/+17
2014-01-26libceph: add ceph_kv{malloc,free}() and switch to themIlya Dryomov1-11/+2
2014-01-14libceph: fix preallocation check in get_reply()Ilya Dryomov1-2/+1
2014-01-14libceph: rename ceph_msg::front_max to front_alloc_lenIlya Dryomov1-3/+3
2013-12-31libceph: use CEPH_MON_PORT when the specified port is 0Ilya Dryomov1-1/+3
2013-12-31libceph: update ceph_features.hIlya Dryomov1-1/+3
2013-12-31libceph: all features fields must be u64Ilya Dryomov1-2/+2
2013-11-23ceph: Convert to immutable biovecsKent Overstreet1-26/+17
2013-09-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag...Linus Torvalds1-1/+1
2013-08-09ceph: WQ_NON_REENTRANT is meaningless and going awayTejun Heo1-1/+1
2013-07-24net: add sk_stream_is_writeable() helperEric Dumazet1-1/+1
2013-05-02libceph: allocate ceph message data with a slab allocatorAlex Elder1-3/+23
2013-05-02libceph: allocate ceph messages with a slab allocatorAlex Elder1-2/+27
2013-05-01libceph: fix two messenger bugsAlex Elder1-5/+3
2013-05-01libceph: add, don't set data for a messageAlex Elder1-6/+6
2013-05-01libceph: implement multiple data items in a messageAlex Elder1-16/+32
2013-05-01libceph: replace message data pointer with listAlex Elder1-15/+31
2013-05-01libceph: have cursor point to dataAlex Elder1-58/+55
2013-05-01libceph: move cursor into messageAlex Elder1-16/+19
2013-05-01libceph: record bio lengthAlex Elder1-0/+1
2013-05-01libceph: skip message if too big to receiveAlex Elder1-1/+9
2013-05-01libceph: fix possible CONFIG_BLOCK build problemAlex Elder1-1/+3
2013-05-01libceph: provide data length when preparing messageAlex Elder1-11/+8
2013-05-01libceph: record message data lengthAlex Elder1-1/+9
2013-05-01libceph: account for alignment in pages cursorAlex Elder1-3/+4
2013-05-01libceph: page offset must be less than page sizeAlex Elder1-7/+7
2013-05-01libceph: fix broken data length assertionsAlex Elder1-2/+2
2013-05-01libceph: make message data be a pointerAlex Elder1-33/+61
2013-05-01libceph: use only ceph_msg_data_advance()Alex Elder1-36/+3
2013-05-01libceph: don't add to crc unless data sentAlex Elder1-2/+2
2013-05-01libceph: kill last of ceph_msg_posAlex Elder1-25/+31
2013-05-01libceph: kill most of ceph_msg_posAlex Elder1-21/+1
2013-05-01libceph: use cursor resid for loop conditionAlex Elder1-5/+4
2013-05-01libceph: collapse all data items into oneAlex Elder1-85/+38
2013-05-01libceph: get rid of read helpersAlex Elder1-62/+18
2013-05-01libceph: no outbound zero dataAlex Elder1-7/+4
2013-05-01libceph: use cursor for inbound data pagesAlex Elder1-13/+4
2013-05-01libceph: kill ceph message bio_iter, bio_segAlex Elder1-31/+0
2013-05-01libceph: use cursor for bio readsAlex Elder1-11/+6
2013-05-01libceph: record residual bytes for all message data typesAlex Elder1-49/+62
2013-05-01libceph: drop pages parameterAlex Elder1-3/+5
2013-05-01libceph: initialize data fields on last msg putAlex Elder1-1/+6
2013-05-01libceph: clear messenger auth_retry flag when we authenticateSage Weil1-2/+1
2013-05-01libceph: implement RECONNECT_SEQ featureSage Weil1-5/+38
2013-05-01libceph: more cleanup of write_partial_msg_pages()Alex Elder1-14/+7
2013-05-01libceph: kill message trailAlex Elder1-39/+5
2013-05-01libceph: implement pages array cursorAlex Elder1-4/+89
2013-05-01libceph: implement bio message data item cursorAlex Elder1-21/+116
2013-05-01libceph: use data cursor for message pagelistAlex Elder1-12/+13
2013-05-01libceph: prepare for other message data item typesAlex Elder1-24/+93
2013-05-01libceph: start defining message data cursorAlex Elder1-10/+128
2013-05-01libceph: abstract message dataAlex Elder1-10/+23
2013-05-01libceph: be explicit about message data representationAlex Elder1-34/+34
2013-05-01libceph: define ceph_msg_has_*() data macrosAlex Elder1-17/+27
2013-05-01libceph: define and use ceph_crc32c_page()Alex Elder1-27/+20
2013-05-01libceph: define and use ceph_tcp_recvpage()Alex Elder1-26/+60