aboutsummaryrefslogtreecommitdiffstats
path: root/db
AgeCommit message (Expand)AuthorFilesLines
2024-03-12xfs_db: don't hardcode 'type data' size at 512bDarrick J. Wong2-2/+4
2024-02-15xfs: convert rt summary macros to helpersDarrick J. Wong1-2/+3
2023-12-21xfs_db: report the device associated with each io cursorDarrick J. Wong3-4/+48
2023-12-18libxfs: split out a libxfs_dev structure from struct libxfs_initChristoph Hellwig4-12/+12
2023-12-18libxfs: making passing flags to libxfs_init less confusingChristoph Hellwig5-9/+9
2023-12-18libxfs: pass a struct libxfs_init to libxfs_alloc_buftargChristoph Hellwig2-2/+2
2023-12-18libxfs: pass a struct libxfs_init to libxfs_mountChristoph Hellwig1-2/+1
2023-12-18libxfs: rename struct libxfs_xinit to libxfs_initChristoph Hellwig2-2/+2
2023-12-18libxlog: remove the global libxfs_xinit x structureChristoph Hellwig1-0/+1
2023-12-18libxlog: don't require a libxfs_xinit structure for xlog_initChristoph Hellwig2-3/+3
2023-12-18libxlog: remove the verbose argument to xlog_is_dirtyChristoph Hellwig2-3/+3
2023-12-18libxfs: remove the volname conceptChristoph Hellwig4-12/+6
2023-11-21xfs_db: Add support to read from external log deviceChandan Babu R4-25/+117
2023-11-21metadump: Define metadump ops for v2 formatChandan Babu R1-3/+71
2023-11-21metadump: Rename XFS_MD_MAGIC to XFS_MD_MAGIC_V1Chandan Babu R1-1/+1
2023-11-21metadump: Introduce metadump v1 operationsChandan Babu R1-62/+62
2023-11-21metadump: Introduce struct metadump_opsChandan Babu R1-0/+25
2023-11-21metadump: Postpone invocation of init_metadump()Chandan Babu R1-5/+6
2023-11-21metadump: Add initialization and release functionsChandan Babu R1-36/+52
2023-11-21metadump: Define and use struct metadumpChandan Babu R1-214/+244
2023-11-21metadump: Declare boolean variables with bool typeChandan Babu R1-16/+16
2023-11-21metadump: Use boolean values true/false instead of 1/0Chandan Babu R1-5/+5
2023-11-21db: fix unsigned char related warningsChristoph Hellwig1-22/+23
2023-10-05xfs_db: use directio for device accessDarrick J. Wong1-0/+1
2023-10-05xfs_db: create unlinked inodesDarrick J. Wong1-0/+196
2023-10-05xfs_db: dump unlinked bucketsDarrick J. Wong4-1/+207
2023-09-07xfs: convert flex-array declarations in xfs attr leaf blocksDarrick J. Wong1-2/+2
2023-07-12xfs_db: expose the unwritten flag in rmapbt keysDarrick J. Wong1-0/+4
2023-06-22xfs_db: make the hash command print the dirent hashDarrick J. Wong1-5/+37
2023-06-22xfs_db: create dirents and xattrs with colliding namesDarrick J. Wong1-0/+376
2023-06-22xfs_db: hoist name obfuscation code out of metadump.cDarrick J. Wong4-388/+412
2023-06-22xfs_db: fix metadump name obfuscation for ascii-ci filesystemsDarrick J. Wong1-9/+73
2023-06-14xfs_db: move obfuscate_name assertion to callersDarrick J. Wong1-1/+3
2023-05-10xfs_db: fix broken logic in error pathDarrick J. Wong1-1/+1
2023-05-10xfs: inobt can use perags in many more places than it doesDave Chinner1-1/+1
2023-03-17xfs_db: fix complaints about unsigned char castingDarrick J. Wong1-2/+2
2023-02-24xfs_db: make flist_find_ftyp() to check for field existance on diskAndrey Albershteyn3-5/+12
2023-02-03xfs_admin: get/set label of mounted filesystemorigin/for-next_2023-02-17origin/for-next_2023-02-16origin/for-next_2023-02-14Catherine Hoang1-2/+4
2023-02-03xfs_admin: correctly parse IO_OPTS parametersCatherine Hoang1-1/+2
2023-01-20xfs_admin: get UUID of mounted filesystemCatherine Hoang1-10/+51
2022-12-21xfs_db: fix dir3 block magic checkorigin/for-next_2022-12-30origin/for-next_2022-12-29Darrick J. Wong1-1/+1
2022-12-15xfs_db: create separate struct and field definitions for finobtsDarrick J. Wong5-3/+91
2022-12-09xfs_{db,repair}: fix XFS_REFC_COW_START usageDarrick J. Wong1-2/+2
2022-12-09xfs_db: fix printing of reverse mapping record blockcountsDarrick J. Wong1-1/+1
2022-12-09xfs_db: fix octal conversion logicDarrick J. Wong1-2/+2
2022-12-09misc: add static to various sourcefile-local functionsDarrick J. Wong1-1/+1
2022-11-21xfs: rename XFS_REFC_COW_START to _COWFLAGDarrick J. Wong1-2/+2
2022-11-21xfs: rearrange the logic and remove the broken comment for xfs_dir2_isxxShida Zhang1-1/+1
2022-09-19xfs_db: use preferable macro to seek offset for local dir3 entry fieldsXiaole He1-3/+3
2022-08-30xfs: convert XFS_IFORK_PTR to a static inline helperDarrick J. Wong1-1/+1
2022-08-30xfs: pass perag to xfs_read_agfDave Chinner1-1/+1
2022-08-30xfs: pass perag to xfs_alloc_read_agf()Dave Chinner1-1/+1
2022-07-12xfs_db: identify the minlogsize transaction reservationDarrick J. Wong1-1/+3
2022-07-12misc: fix unsigned integer comparison complaintsDarrick J. Wong2-7/+14
2022-06-22xfs: remove warning counters from struct xfs_dquot_resCatherine Hoang1-1/+2
2022-06-22xfs: Introduce per-inode 64-bit extent countersChandan Babu R3-14/+209
2022-06-22xfs: Introduce XFS_DIFLAG2_NREXT64 and associated helpersChandan Babu R1-0/+3
2022-06-22xfs: Introduce XFS_SB_FEAT_INCOMPAT_NREXT64 and associated per-fs feature bitChandan Babu R1-0/+2
2022-06-22xfs: Introduce xfs_dfork_nextents() helperChandan Babu R6-26/+29
2022-06-22xfs: Use xfs_extnum_t instead of basic data typesChandan Babu R7-28/+29
2022-06-22xfs: Define max extent length based on on-disk format definitionChandan Babu R1-1/+1
2022-05-27metadump: be careful zeroing corrupt inode forksDave Chinner1-10/+39
2022-05-27metadump: handle corruption errors without abortingDave Chinner1-47/+47
2022-05-27xfs_db: take BB cluster offset into account when using 'type' cmdAndrey Albershteyn1-3/+10
2022-05-17xfs_db: report absolute maxlevels for each btree typeDarrick J. Wong1-10/+63
2022-05-17xfs_db: support computing btheight for all cursor typesDarrick J. Wong1-3/+23
2022-05-17xfs_db: warn about suspicious finobt trees when metadumpingDarrick J. Wong1-0/+15
2022-05-17xfs_db: fix a complaint about a printf buffer overrunDarrick J. Wong1-1/+1
2022-04-28xfs_db: stop using XFS_BTREE_MAXLEVELSDarrick J. Wong1-5/+5
2022-04-28xfs: remove the xfs_dqblk_t typedefChristoph Hellwig3-20/+20
2022-04-28xfs: remove the xfs_dinode_t typedefChristoph Hellwig7-149/+149
2022-04-27xfs_db: fix metadump level comparisonsDarrick J. Wong1-5/+5
2022-02-25xfs_db: fix nbits parameter in fa_ino[48] functionsDarrick J. Wong1-2/+4
2022-02-25libxcmd: use emacs mode for command history editingDarrick J. Wong1-0/+1
2022-02-03xfs: convert bp->b_bn references to xfs_buf_daddr()Dave Chinner1-1/+1
2022-01-31Get rid of these flags and the m_flags field, since none of them doDarrick J. Wong1-4/+8
2022-01-31xfs: kill xfs_sb_version_has_v3inode()Dave Chinner1-1/+1
2022-01-31xfs_{copy,db,logprint,repair}: replace xfs_sb_version checks with feature fla...Darrick J. Wong16-69/+69
2022-01-31xfs: convert xfs_fs_geometry to use mount feature checksDave Chinner1-1/+1
2022-01-31xfs: replace xfs_sb_version checks with feature flag checksDave Chinner1-1/+1
2022-01-31xfs: reflect sb features in xfs_mountDave Chinner1-1/+7
2022-01-31xfs: make the record pointer passed to query_range functions constDarrick J. Wong1-4/+4
2022-01-31xfs_{copy,db,logprint,repair}: pass xfs_mount pointers instead of xfs_sb poin...Darrick J. Wong1-33/+33
2022-01-31xfsprogs: fix static build problems caused by liburcuTheodore Ts'o1-2/+2
2021-10-15xfs_db: convert the agresv command to use for_each_peraglibxfs-5.14-syncDarrick J. Wong1-6/+8
2021-10-15xfs: convert rmap btree cursor to using a peragDave Chinner1-2/+1
2021-10-15xfs: add a perag to the btree cursorDave Chinner2-9/+13
2021-10-15xfs: push perags through the ag reservation calloutsDave Chinner1-3/+5
2021-10-01misc: convert utilities to use "fallthrough;"Darrick J. Wong1-1/+1
2021-09-29xfsprogs: introduce liburcu supportDave Chinner1-1/+2
2021-06-30xfs: remove XFS_IFEXTENTSChristoph Hellwig1-5/+3
2021-04-15xfs_admin: pick up log arguments correctlyDarrick J. Wong1-5/+4
2021-03-12xfs_admin: don't hide the xfs_repair output when upgradingDarrick J. Wong1-10/+2
2021-03-12xfs_admin: don't add '=1' when building repair command line for -ODarrick J. Wong1-1/+1
2021-02-23xfs_admin: support adding features to V5 filesystemsDarrick J. Wong1-2/+4
2021-02-23xfs_db: don't allow label/uuid setting if the needsrepair flag is setDarrick J. Wong1-0/+11
2021-02-23xfs_db: report the needsrepair flag in check and version commandsDarrick J. Wong2-0/+7
2021-02-23xfs_admin: support filesystems with realtime devicesDarrick J. Wong1-5/+6
2021-02-23xfs_admin: clean up string quotingDarrick J. Wong1-2/+2
2021-02-12xfs_db: add an ls commandDarrick J. Wong1-0/+389
2021-02-12xfs_db: add a directory path lookup commandDarrick J. Wong4-1/+224
2020-11-24libxfs: get rid of b_bcount from xfs_bufDave Chinner1-1/+1
2020-11-20xfs_db: report ranges of invalid rt blocksDarrick J. Wong1-3/+30
2020-11-20xfs_db: support printing time limitsDarrick J. Wong4-1/+163
2020-11-20xfs_db: report bigtime format timestampsDarrick J. Wong3-5/+46
2020-11-20xfs_db: refactor quota timer printingDarrick J. Wong5-3/+42
2020-11-20xfs_db: refactor timestamp printingDarrick J. Wong4-25/+61
2020-11-20xfs_db: support displaying inode btree block counts in AGI headerDarrick J. Wong2-0/+4
2020-11-12xfs: Convert xfs_attr_sf macros to inline functionsCarlos Maiolino2-6/+6
2020-11-12xfs: Remove typedef xfs_attr_shortform_tCarlos Maiolino4-30/+30
2020-11-12xfs: remove typedef xfs_attr_sf_entry_tCarlos Maiolino2-38/+38
2020-11-10xfs: redefine xfs_timestamp_tDarrick J. Wong2-2/+2
2020-09-15xfs: rename the ondisk dquot d_flags to d_typeDarrick J. Wong2-6/+6
2020-09-15xfs: improve ondisk dquot flags checkingDarrick J. Wong1-1/+12
2020-09-04xfs: create xfs_dqtype_t to represent quota typesDarrick J. Wong1-1/+1
2020-09-04xfs: rename XFS_DQ_{USER,GROUP,PROJ} to XFS_DQTYPE_*Darrick J. Wong1-3/+3
2020-08-27xfs_db: set b_ops to NULL in set_cur for types without verifiersEric Sandeen1-1/+3
2020-08-24xfs_db: consolidate set_iocur_type behaviorEric Sandeen1-23/+4
2020-08-24xfs_db: short circuit type_f if type is unchangedEric Sandeen1-0/+2
2020-08-17xfs_db: use correct inode to set inode typeZorro Lang1-8/+10
2020-08-17xfs_db: report the inode dax flagDarrick J. Wong1-0/+3
2020-08-17xfs_db: fix nlink usage in checkDarrick J. Wong1-2/+2
2020-08-10xfs: remove the XFS_DFORK_Q macroChristoph Hellwig5-22/+23
2020-08-10xfs: remove xfs_ifork_opsChristoph Hellwig1-4/+2
2020-08-10xfs_db: stop misusing an onstack inodeDarrick J. Wong1-44/+56
2020-05-26xfs_db: fix rdbmap_boundscheckDarrick J. Wong1-1/+1
2020-05-26xfs_db: don't crash if el_gets returns nullDarrick J. Wong1-8/+15
2020-05-26xfs_db: fix crc invalidation segfaultAnthony Iliopoulos1-1/+1
2020-05-11metadump: small cleanup for process_inodeChristoph Hellwig1-2/+1
2020-05-11db: ensure that create and replace are exclusive in attr_set_fChristoph Hellwig1-0/+2
2020-05-11db: validate name and namelen in attr_set_f and attr_remove_fChristoph Hellwig1-0/+18
2020-05-11db: cleanup attr_set_f and attr_remove_fChristoph Hellwig1-39/+28
2020-05-09db: add a comment to agfl_crc_fldsChristoph Hellwig1-0/+1
2020-05-09db: fix a comment in scan_freelistChristoph Hellwig1-1/+1
2020-05-09xfs_db: bounds-check access to the dbmap arrayDarrick J. Wong1-0/+43
2020-05-09xfsprogs: remove libreadline supportChristoph Hellwig2-29/+2
2020-05-01xfs: remove the di_version field from struct icdinodeChristoph Hellwig1-2/+4
2020-05-01xfs: only check the superblock version for dinode size calculationChristoph Hellwig2-5/+3
2020-05-01xfs: add a new xfs_sb_version_has_v3inode helperChristoph Hellwig1-1/+1
2020-05-01xfs: remove XFS_BUF_TO_SBPChristoph Hellwig1-1/+1
2020-05-01xfs: remove XFS_BUF_TO_AGFChristoph Hellwig1-1/+1
2020-05-01xfs: remove the xfs_agfl_t typedefChristoph Hellwig1-1/+1
2020-05-01xfs: remove the agfl_bno member from struct xfs_agflChristoph Hellwig2-3/+3
2020-05-01xfs: clean up the attr flag confusionChristoph Hellwig1-16/+17
2020-05-01xfs: pass an initialized xfs_da_args structure to xfs_attr_setChristoph Hellwig1-14/+27
2020-04-29xfs: merge xfs_attr_remove into xfs_attr_setChristoph Hellwig1-1/+2
2020-04-29xfs: remove the icdinode di_uid/di_gid membersChristoph Hellwig1-2/+2
2020-04-08xfs_db: clean up the salvage read callsites in set_cur()Darrick J. Wong1-7/+9
2020-04-08xfsprogs: fix silently broken option parsingDave Chinner2-6/+3
2020-03-13xfs: make xfs_buf_read return an error codeDarrick J. Wong1-1/+2
2020-03-13libxfs: make libxfs_buf_read_map return an error codeDarrick J. Wong1-2/+2
2020-03-13xfs: Remove all strlen in all xfs_attr_* functions for attr names.Allison Henderson1-2/+2
2020-03-02xfs_admin: revert online label setting abilityEric Sandeen1-40/+2
2020-03-01libxfs: rename libxfs_readbuf_map to libxfs_buf_read_mapDarrick J. Wong1-1/+1
2020-03-01xfs_db: use uncached buffer reads to get the superblockDarrick J. Wong1-5/+4
2020-03-01libxfs: rename libxfs_writebufr to libxfs_bwriteDarrick J. Wong1-2/+2
2020-03-01libxfs: replace libxfs_readbuf with libxfs_buf_readDarrick J. Wong2-2/+2
2020-03-01libxfs: replace libxfs_putbuf with libxfs_buf_relseDarrick J. Wong4-6/+6
2020-02-27libxfs: clean up libxfs_destroyDarrick J. Wong1-7/+1
2020-01-30xfs_db: dump per-AG reservationsDarrick J. Wong1-0/+104
2020-01-30man: document some missing xfs_db commandsDarrick J. Wong1-2/+2
2020-01-30xfsprogs: do not redeclare globals provided by librariesEric Sandeen1-1/+0
2020-01-22xfs: remove unused typedef definitionsEric Sandeen3-5/+5
2020-01-22xfs: remove the xfs_disk_dquot_t and xfs_dquot_tPavel Reichl2-2/+2
2020-01-22xfs: merge the projid fields in struct xfs_icdinodeChristoph Hellwig1-4/+2
2020-01-22xfs: devirtualize ->m_dirnameopsChristoph Hellwig1-1/+1
2020-01-22xfs: devirtualize ->data_bestfree_pChristoph Hellwig1-2/+2
2020-01-22xfs: move the dir2 data block fixed offsets to struct xfs_da_geometryChristoph Hellwig3-7/+7
2020-01-22xfs: devirtualize ->data_entry_tag_pChristoph Hellwig3-5/+5
2020-01-22xfs: devirtualize ->data_entsizeChristoph Hellwig3-5/+5
2020-01-22xfs: remove the ->data_unused_p methodChristoph Hellwig3-6/+6
2020-01-22xfs: devirtualize ->sf_get_ino and ->sf_put_inoChristoph Hellwig2-2/+2
2020-01-22xfs: devirtualize ->sf_entsize and ->sf_nextentryChristoph Hellwig3-9/+10
2020-01-22xfs: devirtualize ->sf_get_parent_ino and ->sf_put_parent_inoChristoph Hellwig1-1/+1
2020-01-22xfs: move the max dir2 free bests count to struct xfs_da_geometryChristoph Hellwig1-2/+2
2020-01-22xfs: add a bests pointer to struct xfs_dir3_icfree_hdrChristoph Hellwig1-1/+1
2020-01-22xfs: devirtualize ->free_hdr_from_diskChristoph Hellwig1-1/+1
2020-01-22xfs: add an entries pointer to struct xfs_dir3_icleaf_hdrChristoph Hellwig2-7/+6
2020-01-22xfs: devirtualize ->leaf_hdr_from_diskChristoph Hellwig2-4/+4
2020-01-22xfs: move the node header size to struct xfs_da_geometryChristoph Hellwig1-1/+12
2020-01-22xfs: devirtualize ->node_hdr_from_diskChristoph Hellwig3-8/+8
2019-12-13xfs_admin: enable online label getting and settingDarrick J. Wong1-2/+40
2019-12-13xfs_admin: support external log devicesDarrick J. Wong1-2/+10
2019-11-01xfs_db: btheight should check geometry more carefullyDarrick J. Wong1-6/+82
2019-09-09xfs_db: use precomputed inode geometry valuesDarrick J. Wong1-5/+3
2019-09-09xfs_db: add a function to compute btree geometryDarrick J. Wong4-1/+311
2019-09-09xfs_db: remove db/convert.hDarrick J. Wong5-11/+3
2019-09-09libfrog: move fsgeom.h to libfrog/Darrick J. Wong1-1/+1
2019-08-28xfs: separate inode geometryDarrick J. Wong4-43/+50
2019-07-24xfs: change some error-less functions to void typesEric Sandeen1-9/+1
2019-05-06xfs: split up allocation btree verifierBrian Foster1-4/+4
2019-05-06xfs: create a separate finobt verifierBrian Foster1-2/+2
2019-05-03xfs_db: scan entire file system when using 'frag'Jorge Guerra1-1/+1
2019-04-26xfsprogs: remove unused function prototypesEric Sandeen3-4/+1
2019-04-26xfs_db: metadump should handle symlinks properlyDarrick J. Wong1-7/+36
2019-04-26xfs_db: refactor multi-fsb object detection decision makingDarrick J. Wong1-5/+17
2019-04-26xfs_db: refactor metadump handling of multi-fsb objectsDarrick J. Wong1-9/+18
2019-03-28xfs_db: use TYP_FINOBT for finobt metadumpDarrick J. Wong1-1/+1
2019-02-27xfs: precalculate inodes and blocks per inode clusterDarrick J. Wong3-4/+4
2019-02-27xfs: add a block to inode count converterDarrick J. Wong5-7/+7