{"push_id":1448602960,"size":84,"distinct_size":84,"ref":"refs/heads/djwong-wtf","head":"b16c8ccd83e98264e1e9437a798c3faab6791973","before":"57420cfc7f3d0a2d444739205ac683db497f5409","commits":[{"sha":"0a13b446e773bbad09fa27902e59eccb88537914","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: use GPF_NOFS when allocating btree cursors\n\nUse NOFS for allocating btree cursors, since they can be called\nunder the ilock.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/0a13b446e773bbad09fa27902e59eccb88537914"},{"sha":"229cb72ffbeb7ac20faca51b3d9e2b0afa6cd225","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs_io: fix the minimum arguments to the reflink command\n\nThe reflink command can reflink the entirety of two files if the\noffsets and lengths are not specified... but we forgot to permit\nthat case.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/229cb72ffbeb7ac20faca51b3d9e2b0afa6cd225"},{"sha":"7fb013592f420aace3a7a2c367ed9cdff66e382d","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: factor rmap btree size into the indlen calculations\n\nWhen we're estimating the amount of space it's going to take to satisfy\na delalloc reservation, we need to include the space that we might need\nto grow the rmapbt.  This helps us to avoid running out of space later\nwhen _iomap_write_allocate needs more space than we reserved.  Eryu Guan\nobserved this happening on generic/224 when sunit/swidth were set.\n\nReported-by: Eryu Guan <eguan@redhat.com>\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/7fb013592f420aace3a7a2c367ed9cdff66e382d"},{"sha":"79e116804f32c7a78e4021dfdf2a8bc45ce6937a","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: forbid AG btrees with level == 0\n\nThere is no such thing as a zero-level AG btree since even a single-node\nzero-records btree has one level.  Btree cursor constructors read\ncur_nlevels straight from disk and then access things like\ncur_bufs[cur_nlevels - 1] which is /really/ bad if cur_nlevels is zero!\nTherefore, strengthen the verifiers to prevent this possibility.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/79e116804f32c7a78e4021dfdf2a8bc45ce6937a"},{"sha":"7c98a6b4f14e73e311b6aeaad87a4f7b6a464890","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: check for bogus values in btree block headers\n\nWhen we're reading a btree block, make sure that what we retrieved\nmatches the owner and level; and has a plausible number of records.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/7c98a6b4f14e73e311b6aeaad87a4f7b6a464890"},{"sha":"4839dacfb8b227d93bbb42b9bffaa5729498c502","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: complain if we don't get nextents bmap records\n\nWhen reading into memory all extents of a btree-format inode fork,\ncomplain if the number of extents we find is not the same as the number\nof extents reported in the inode core.  This is needed to stop an IO\naction from accessing the garbage areas of the in-core fork.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/4839dacfb8b227d93bbb42b9bffaa5729498c502"},{"sha":"ecc1491716d1a19babfee4ee2b8284807b1f97ec","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: don't crash if reading a directory results in an unexpected hole\n\nIn xfs_dir3_data_read, we can encounter the situation where err == 0 and\n*bpp == NULL if the given bno offset happens to be a hole; this leads to\na crash if we try to set the buffer type after the _da_read_buf call.\nHoles can happen due to corrupt or malicious entries in the bmbt data,\nso be a little more careful when we're handling buffers.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/ecc1491716d1a19babfee4ee2b8284807b1f97ec"},{"sha":"bcc66e9e404e46b52a4b9ba897801ed44c6da5e5","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: error out if trying to add attrs and anextents > 0\n\nWe shouldn't assert if somehow we end up trying to add an attr fork to\nan inode that apparently already has attr extents because this is an\nindication of on-disk corruption.  Instead, return an error code to\nuserspace.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/bcc66e9e404e46b52a4b9ba897801ed44c6da5e5"},{"sha":"cb376f5aedf68ad424e5700c750c283b07124fb2","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: don't allow di_size with high bit set\n\nThe on-disk field di_size is used to set i_size, which is a signed\ninteger of loff_t.  If the high bit of di_size is set, we'll end up with\na negative i_size, which will cause all sorts of problems.  Since the\nVFS won't let us create a file with such length, we should catch them\nhere in the verifier too.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/cb376f5aedf68ad424e5700c750c283b07124fb2"},{"sha":"0890c53673ee5edeb910083fbeee0ead4c3f97f7","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: plumb in needed functions for range querying of the freespace btrees\n\nPlumb in the pieces (init_high_key, diff_two_keys) necessary to call\nquery_range on the free space btrees.  Remove the debugging asserts\nso that we can make queries starting from block 0.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/0890c53673ee5edeb910083fbeee0ead4c3f97f7"},{"sha":"400bd823ba314aec98148cef33265165b5cbee52","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: provide a query_range function for freespace btrees\n\nImplement a query_range function for the bnobt and cntbt.  This will\nbe used for getfsmap fallback if there is no rmapbt and by the online\nscrub and repair code.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/400bd823ba314aec98148cef33265165b5cbee52"},{"sha":"8635c03d92d17bad93ee48d4ab848abe18750326","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: create a function to query all records in a btree\n\nCreate a helper function that will query all records in a btree.\nThis will be used by the online repair functions to examine every\nrecord in a btree to rebuild a second btree.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/8635c03d92d17bad93ee48d4ab848abe18750326"},{"sha":"dbdf5b7731c368d31bea89587e1a16ce4831ce4f","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: introduce the XFS_IOC_GETFSMAP ioctl\n\nIntroduce a new ioctl that uses the reverse mapping btree to return\ninformation about the physical layout of the filesystem.\n\nv2: shorten the device field to u32 since that's all we need for\ndev_t.  Support reporting reverse mapping information for all the\ndevices that XFS supports (data, log).\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/dbdf5b7731c368d31bea89587e1a16ce4831ce4f"},{"sha":"1e3f28673fab12ca7914a2510d6b486462760299","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs_io: support the new getfsmap ioctl\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/1e3f28673fab12ca7914a2510d6b486462760299"},{"sha":"f9688bd2a2823d3ac3ea4ee60c03e0fdd94b6a14","author":{"name":"Dave Chinner","email":"6091b9ca93c3bf202a7dfb4ab952b5e043623b84@redhat.com"},"message":"xfsprogs: Space management tool\n\nxfs_spaceman is intended as a diagnostic and control tool for space\nmanagement operations within XFS. Operations like examining free\nspace, managing allocation policies, issuing block discards on free\nspace, etc.\n\nThe tool is modelled on the xfs_io interface, allowing both\ninteractive and command line control of the tool, enabling it to be\nused in scripts and automated management tools.\n\nSigned-off-by: Dave Chinner <dchinner@redhat.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/f9688bd2a2823d3ac3ea4ee60c03e0fdd94b6a14"},{"sha":"4e268e1cff0fc8cfde5207a8ff13c838e146eefc","author":{"name":"Dave Chinner","email":"6091b9ca93c3bf202a7dfb4ab952b5e043623b84@redhat.com"},"message":"spaceman: add FITRIM support\n\nAdd support for discarding free space extents via the FITRIM\ncommand. Make it easy to discard a single range, an entire AG or all\nthe freespace in the filesystem.\n\nSigned-off-by: Dave Chinner <dchinner@redhat.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/4e268e1cff0fc8cfde5207a8ff13c838e146eefc"},{"sha":"937dfb8c4ce1d8853e32d00b6fd452470d9857e3","author":{"name":"Dave Chinner","email":"6091b9ca93c3bf202a7dfb4ab952b5e043623b84@redhat.com"},"message":"spaceman: add new speculative prealloc control\n\nAdd an control interface for purging speculative\npreallocation via the new ioctls.\n\nSigned-off-by: Dave Chinner <dchinner@redhat.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/937dfb8c4ce1d8853e32d00b6fd452470d9857e3"},{"sha":"6c32e633a7f6d65d0234ec0e81e9c635edfdf02b","author":{"name":"Dave Chinner","email":"6091b9ca93c3bf202a7dfb4ab952b5e043623b84@redhat.com"},"message":"spaceman: AG state control\n\nAdd support for a new allocation group state control ioctl. This\nallows control of various AG parameters, such as whether inode\nallocation is allowed in the AG, metadata preference, whether new\nallocations are allowed, etc. This requires a new ioctl.\n\nSigned-off-by: Dave Chinner <dchinner@redhat.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/6c32e633a7f6d65d0234ec0e81e9c635edfdf02b"},{"sha":"d08dabffc29b2ec92e5962b37b597c55fb2725bf","author":{"name":"Dave Chinner","email":"6091b9ca93c3bf202a7dfb4ab952b5e043623b84@redhat.com"},"message":"spaceman: Free space mapping command\n\nAdd freespace mapping tool modelled on the xfs_db freesp command.\nThe advantage of this command over xfs_db is that it can be done\nonline and is coherent with concurrent modifications to the\nfilesystem.\n\nThis requires the kernel to support the XFS_IOC_GETFSMAP ioctl to map\nfree space indexes.\n\nSigned-off-by: Dave Chinner <dchinner@redhat.com>\n[darrick: port from FIEMAPFS to GETFSMAP]\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/d08dabffc29b2ec92e5962b37b597c55fb2725bf"},{"sha":"bb14fa610daba83aec5da3a85818e77a0874a1b5","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: add scrub tracepoints\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":true,"url":"https://api.github.com/repos/djwong/xfsprogs/commits/bb14fa610daba83aec5da3a85818e77a0874a1b5"}]}
{"actor":{"display_login":"djwong"}}