aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/osdmap.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-27libceph: replace BUG_ON with bounds check for map->max_osdziming zhang1-7/+11
2022-08-03libceph: print fsid and epoch with osd idDaichi Mukai1-7/+23
2022-08-03libceph: check pointer before assigned to "c->rules[]"Li Qiong1-1/+1
2022-01-15mm: allow !GFP_KERNEL allocations for kvmallocMichal Hocko1-6/+6
2021-06-03libceph: Fix spelling mistakesZheng Yongjun1-2/+2
2021-03-25net: ceph: Fix a typo in osdmap.cLu Wei1-1/+1
2020-12-14libceph, ceph: get and handle cluster maps with addrvecsIlya Dryomov1-13/+32
2020-10-12libceph: multiple workspaces for CRUSH computationsIlya Dryomov1-15/+151
2020-06-01libceph: support for balanced and localized readsIlya Dryomov1-0/+102
2020-06-01libceph: crush_location infrastructureIlya Dryomov1-0/+116
2020-06-01libceph: decode CRUSH device/bucket types and namesIlya Dryomov1-2/+83
2020-06-01libceph: add non-asserting rbtree insertion helperIlya Dryomov1-49/+11
2020-03-23ceph: check POOL_FLAG_FULL/NEARFULL in addition to OSDMAP_FULL/NEARFULLIlya Dryomov1-0/+9
2019-09-16libceph: use ceph_kvmalloc() for osdmap arraysIlya Dryomov1-26/+43
2019-07-08libceph: correctly decode ADDR2 addresses in incremental OSD mapsJeff Layton1-5/+10
2019-07-08libceph: switch osdmap decoding to use ceph_decode_entity_addrJeff Layton1-8/+8
2019-03-05libceph: use struct_size() for kmalloc() in crush_decode()Gustavo A. R. Silva1-3/+2
2018-06-15Merge tag 'ceph-for-4.18-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-11/+8
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-2/+3
2018-06-04libceph: allocate the locator string with GFP_NOFAILIlya Dryomov1-11/+8
2018-04-02libceph, ceph: move ceph_calc_file_object_mapping() to striper.cIlya Dryomov1-37/+0
2018-04-02libceph, ceph: change ceph_calc_file_object_mapping() signatureIlya Dryomov1-4/+2
2018-04-02libceph: eliminate overflows in ceph_calc_file_object_mapping()Ilya Dryomov1-60/+28
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-19libceph: don't allow bidirectional swap of pg-upmap-itemsIlya Dryomov1-10/+25
2017-08-01libceph: make RECOVERY_DELETES feature create a new intervalIlya Dryomov1-1/+4
2017-08-01libceph: upmap semantic changesIlya Dryomov1-28/+11
2017-08-01crush: assume weight_set != null imples weight_set_size > 0Ilya Dryomov1-0/+4
2017-08-01libceph: fallback for when there isn't a pool-specific choose_argIlya Dryomov1-1/+11
2017-07-17libceph: use alloc_pg_mapping() in __decode_pg_upmap_items()Ilya Dryomov1-1/+1
2017-07-17libceph: set -EINVAL in one place in crush_decode()Ilya Dryomov1-11/+12
2017-07-17libceph: NULL deref on osdmap_apply_incremental() error pathDan Carpenter1-3/+3
2017-07-07libceph: osd_state is 32 bits wide in luminousIlya Dryomov1-9/+20
2017-07-07libceph, crush: per-pool crush_choose_arg_map for crush_do_rule()Ilya Dryomov1-3/+197
2017-07-07crush: implement weight and id overrides for straw2Ilya Dryomov1-1/+1
2017-07-07libceph: apply_upmap()Ilya Dryomov1-2/+95
2017-07-07libceph: compute actual pgid in ceph_pg_to_up_acting_osds()Ilya Dryomov1-6/+6
2017-07-07libceph: pg_upmap[_items] infrastructureIlya Dryomov1-3/+132
2017-07-07libceph: ceph_decode_skip_* helpersIlya Dryomov1-22/+3
2017-07-07libceph: kill __{insert,lookup,remove}_pg_mapping()Ilya Dryomov1-72/+15
2017-07-07libceph: introduce and switch to decode_pg_mapping()Ilya Dryomov1-67/+83
2017-07-07libceph: don't pass pgid by valueIlya Dryomov1-10/+10
2017-07-07libceph: respect RADOS_BACKOFF backoffsIlya Dryomov1-0/+16
2017-07-07libceph: avoid unnecessary pi lookups in calc_target()Ilya Dryomov1-24/+30
2017-07-07libceph: resend on PG splits if OSD has RESEND_ON_SPLITIlya Dryomov1-4/+3
2017-07-07libceph: introduce ceph_spg, ceph_pg_to_primary_shard()Ilya Dryomov1-0/+33
2017-07-07libceph: new pi->last_force_request_resendIlya Dryomov1-0/+37
2017-07-07libceph: handle non-empty dest in ceph_{oloc,oid}_copy()Ilya Dryomov1-4/+6
2017-05-23libceph: NULL deref on crush_decode() error pathDan Carpenter1-0/+1
2017-03-07libceph: don't set weight to IN when OSD is destroyedIlya Dryomov1-1/+0
2017-03-07libceph: fix crush_decode() for older mapsIlya Dryomov1-2/+1
2017-02-20libceph: don't go through with the mapping if the PG is too wideIlya Dryomov1-2/+8
2017-02-20crush: merge working data and scratchIlya Dryomov1-6/+8
2017-02-20crush: remove mutable part of CRUSH mapIlya Dryomov1-5/+42
2017-02-20libceph: add osdmap_set_crush() helperIlya Dryomov1-20/+16
2016-07-28libceph: rados pool namespace supportYan, Zheng1-6/+46
2016-07-28libceph: define new ceph_file_layout structureYan, Zheng1-3/+3
2016-07-22libceph: apply new_state before new_up_client on incrementalsIlya Dryomov1-43/+113
2016-05-30libceph: use %s instead of %pE in dout()sIlya Dryomov1-2/+2
2016-05-26libceph: allocate dummy osdmap in ceph_osdc_init()Ilya Dryomov1-5/+18
2016-05-26libceph: introduce ceph_osd_request_target, calc_target()Ilya Dryomov1-0/+121
2016-05-26libceph: pi->min_size, pi->last_force_request_resendIlya Dryomov1-1/+47
2016-05-26libceph: make pgid_cmp() globalIlya Dryomov1-11/+12
2016-05-26libceph: rename ceph_calc_pg_primary()Ilya Dryomov1-4/+5
2016-05-26libceph: ceph_osds, ceph_pg_to_up_acting_osds()Ilya Dryomov1-125/+179
2016-05-26libceph: rename ceph_oloc_oid_to_pg()Ilya Dryomov1-15/+16
2016-05-26libceph: nuke unused fields and functionsIlya Dryomov1-2/+1
2016-05-26libceph: variable-sized ceph_object_idIlya Dryomov1-1/+92
2016-02-04crush: decode and initialize chooseleaf_stableIlya Dryomov1-5/+14
2015-09-08libceph: set 'exists' flag for newly up osdYan, Zheng1-1/+1
2015-07-01crush: fix a bug in tree bucket decodeIlya Dryomov1-1/+1
2015-04-22crush: straw2 bucket type with an efficient 64-bit crush_ln()Ilya Dryomov1-0/+25
2014-10-14libceph: Convert pr_warning to pr_warnJoe Perches1-10/+10
2014-10-14libceph: fix a use after free issue in osdmap_set_max_osdLi RongQing1-16/+16
2014-05-16crush: decode and initialize chooseleaf_vary_rIlya Dryomov1-0/+5
2014-04-28libceph: fix non-default values check in apply_primary_affinity()Ilya Dryomov1-4/+5
2014-04-04libceph: output primary affinity values on osdmap updatesIlya Dryomov1-0/+2
2014-04-04libceph: redo ceph_calc_pg_primary() in terms of ceph_calc_pg_acting()Ilya Dryomov1-75/+4
2014-04-04libceph: add support for osd primary affinityIlya Dryomov1-0/+68
2014-04-04libceph: add support for primary_temp mappingsIlya Dryomov1-1/+6
2014-04-04libceph: return primary from ceph_calc_pg_acting()Ilya Dryomov1-8/+12
2014-04-04libceph: switch ceph_calc_pg_acting() to new helpersIlya Dryomov1-13/+38
2014-04-04libceph: introduce apply_temps() helperIlya Dryomov1-0/+52
2014-04-04libceph: introduce pg_to_raw_osds() and raw_to_up_osds() helpersIlya Dryomov1-0/+76
2014-04-04libceph: primary_affinity decode bitsIlya Dryomov1-0/+72
2014-04-04libceph: primary_affinity infrastructureIlya Dryomov1-0/+47
2014-04-04libceph: primary_temp decode bitsIlya Dryomov1-0/+69
2014-04-04libceph: primary_temp infrastructureIlya Dryomov1-1/+9
2014-04-04libceph: generalize ceph_pg_mappingIlya Dryomov1-4/+4
2014-04-04libceph: introduce get_osdmap_client_data_v()Ilya Dryomov1-16/+65
2014-04-04libceph: introduce decode{,_new}_pg_temp() and switch to themIlya Dryomov1-72/+67
2014-04-04libceph: switch osdmap_set_max_osd() to krealloc()Ilya Dryomov1-15/+17
2014-04-04libceph: introduce decode{,_new}_pools() and switch to themIlya Dryomov1-37/+57
2014-04-04libceph: rename __decode_pool{,_names}() to decode_pool{,_names}()Ilya Dryomov1-6/+8
2014-04-04libceph: fix and clarify ceph_decode_need() sizesIlya Dryomov1-6/+7
2014-04-04libceph: nuke bogus encoding version check in osdmap_apply_incremental()Ilya Dryomov1-5/+4
2014-04-04libceph: fixup error handling in osdmap_apply_incremental()Ilya Dryomov1-32/+34
2014-04-04libceph: fix crush_decode() call site in osdmap_decode()Ilya Dryomov1-5/+2
2014-04-04libceph: check length of osdmap osd arraysIlya Dryomov1-4/+10
2014-04-04libceph: safely decode max_osd value in osdmap_decode()Ilya Dryomov1-2/+4
2014-04-04libceph: fixup error handling in osdmap_decode()Ilya Dryomov1-26/+27
2014-04-04libceph: split osdmap allocation and decode stepsIlya Dryomov1-15/+29
2014-04-04libceph: dump osdmap and enhance output on decode errorsIlya Dryomov1-6/+15
2014-04-03libceph: a per-osdc crush scratch bufferIlya Dryomov1-9/+16
2014-01-27libceph: follow {read,write}_tier fields on osd request submissionIlya Dryomov1-3/+25
2014-01-27libceph: add ceph_pg_pool_by_id()Ilya Dryomov1-0/+5
2014-01-27libceph: replace ceph_calc_ceph_pg() with ceph_oloc_oid_to_pg()Ilya Dryomov1-12/+17
2013-12-31crush: eliminate CRUSH_MAX_SET result size limitationIlya Dryomov1-3/+13
2013-12-31crush: pass weight vector size to map functionIlya Dryomov1-1/+1
2013-09-03libceph: use pg_num_mask instead of pgp_num_mask for pg.seed calcSage Weil1-1/+1
2013-05-01libceph: define ceph_decode_pgid() only onceAlex Elder1-20/+2
2013-05-01libceph: rename ceph_calc_object_layout()Alex Elder1-14/+9
2013-03-11libceph: fix decoding of pgidsSage Weil1-13/+29
2013-02-26libceph: add support for HASHPSPOOL pool flagSage Weil1-13/+26
2013-02-26libceph: calculate placement based on the internal data typesSage Weil1-13/+5
2013-02-26ceph: update support for PGID64, PGPOOL3, OSDENC protocol featuresSage Weil1-76/+86
2013-02-26libceph: decode into cpu-native ceph_pg typeSage Weil1-35/+43
2013-02-26libceph: rename ceph_pg -> ceph_pg_v1Sage Weil1-9/+9
2013-01-25libceph: fix undefined behavior when using snprintf()Cong Ding1-18/+10
2013-01-17libceph: pass length to ceph_calc_file_object_mapping()Alex Elder1-5/+4
2013-01-17libceph: for chooseleaf rules, retry CRUSH map descent from root if leaf is f...Jim Schutt1-0/+6
2012-11-01libceph: define ceph_pg_pool_name_by_id()Alex Elder1-0/+16
2012-10-30libceph: fix osdmap decode error pathsSage Weil1-11/+20
2012-10-01libceph: check for invalid mappingSage Weil1-2/+16
2012-07-30libceph: support crush tunablesSage Weil1-0/+39
2012-06-15Merge tag 'v3.5-rc1'Sage Weil1-7/+7
2012-06-07libceph: fix overflow in osdmap_apply_incremental()Xi Wang1-0/+4
2012-06-07libceph: fix overflow in osdmap_decode()Xi Wang1-0/+3
2012-06-07libceph: fix overflow in __decode_pool_names()Xi Wang1-6/+7
2012-05-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-clientLinus Torvalds1-48/+25
2012-05-21libceph: fix pg_temp updatesSage Weil1-1/+5
2012-05-07crush: warn on do_rule failureSage Weil1-4/+11
2012-05-07crush: remove parent mapsSage Weil1-7/+0
2012-05-07crush: remove forcefeed functionalitySage Weil1-1/+1
2012-05-07ceph: drop support for preferred_osd pgsSage Weil1-37/+10
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-7/+7
2012-03-22libceph: fix overflow check in crush_decode()Xi Wang1-1/+2
2011-09-28libceph: fix pg_temp mapping updateSage Weil1-26/+24
2011-09-28libceph: fix pg_temp mapping calculationSage Weil1-13/+21
2011-05-24libceph: handle new osdmap down/state change encodingSage Weil1-3/+8
2011-05-19libceph: fix osdmap timestamp assignmentSage Weil1-1/+1
2011-01-12ceph: Always free allocated memory in osdmap_decode()Jesper Juhl1-1/+3
2010-10-20ceph: factor out libceph from Ceph file systemYehuda Sadeh1-0/+1128