{"push_id":1435767498,"size":67,"distinct_size":0,"ref":"refs/heads/djwong-devel","head":"056d88043bb57bf7e94a99d49646e4195026306e","before":"53b9240080d8931fb04d32972d4a316ea6cafcdb","commits":[{"sha":"2d9ab12eb633b2bd6457984a7d9c9c31aaf55af0","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"libxfs: convert ushort to unsigned short\n\nSince xfsprogs dropped ushort in favor of unsigned short, do that\nhere too.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/2d9ab12eb633b2bd6457984a7d9c9c31aaf55af0"},{"sha":"443729e46051c25380687b655675d130c27d0634","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"libxfs: synchronize dinode_verify with userspace\n\nThe userspace version of _dinode_verify takes a raw inode number\ninstead of an inode itself.  Since neither version actually needs\nthe inode, port the changes to the kernel.  This will also reduce\nthe libxfs diff noise.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/443729e46051c25380687b655675d130c27d0634"},{"sha":"7336ca89dcabbf1f8aff18ce39a3c660deedbad8","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"libxfs: fix whitespace problems\n\nFix some whitespace problems that trip up my libxfs-diff script.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>\nReviewed-by: Eric Sandeen <sandeen@redhat.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/7336ca89dcabbf1f8aff18ce39a3c660deedbad8"},{"sha":"c599cdb7ab2f5f41b81cb6b2cb62e6a3b38e8cb5","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"libxfs: fix xfs_attr_shortform_bytesfit declaration\n\nChange the xfs_attr_shortform_bytesfit declaration to have\nstruct xfs_inode to avoid tripping up the libxfs-diff scanner.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>\nReviewed-by: Eric Sandeen <sandeen@redhat.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/c599cdb7ab2f5f41b81cb6b2cb62e6a3b38e8cb5"},{"sha":"15321f1b17ec0a81b49ec9d33caa66b6b4d26c6b","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"libxfs: clean up _dir2_data_freescan\n\nRefactor the implementations of xfs_dir2_data_freescan into a\nroutine that takes the raw directory block parameters and\na second function that figures out the raw parameters from the\ndirectory inode.  This enables us to use the exact same code\nfor both userspace and the kernel, since repair knows exactly\nwhich directory block geometry parameters it needs.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/15321f1b17ec0a81b49ec9d33caa66b6b4d26c6b"},{"sha":"bf2a030da9212f0eec787f99ae0193d812bd3571","author":{"name":"Eric Sandeen","email":"59f89249c5e068e4490be84884ce7db79f1ba413@redhat.com"},"message":"xfs: don't call xfs_sb_quota_from_disk twice\n\nFrom ee3754254e8c186c99b6cdd4d59f741759d04acb Mon Sep 17 00:00:00 2001\n\nkernel commit 5ef828c4\nxfs: avoid false quotacheck after unclean shutdown\n\nmade xfs_sb_from_disk() also call xfs_sb_quota_from_disk\nby default.\n\nHowever, when this was merged to libxfs, existing separate\ncalls to libxfs_sb_quota_from_disk remained, and calling it\ntwice in a row on a V4 superblock leads to issues, because:\n\n        if (sbp->sb_qflags & XFS_PQUOTA_ACCT)  {\n...\n                sbp->sb_pquotino = sbp->sb_gquotino;\n                sbp->sb_gquotino = NULLFSINO;\n\nand after the second call, we have set both pquotino and gquotino\nto NULLFSINO.\n\nFix this by making it safe to call twice, and also remove the extra\ncalls to libxfs_sb_quota_from_disk.\n\nThis is only spotted when running xfstests with \"-m crc=0\" because\nthe sb_from_disk change came about after V5 became default, and\nthe above behavior only exists on a V4 superblock.\n\nReported-by: Eryu Guan <eguan@redhat.com>\nSigned-off-by: Eric Sandeen <sandeen@redhat.com>\nReviewed-by: Carlos Maiolino <cmaiolino@redhat.com>\nSigned-off-by: Dave Chinner <david@fromorbit.com>\nReviewed-by: Eric Sandeen <sandeen@redhat.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/bf2a030da9212f0eec787f99ae0193d812bd3571"},{"sha":"58cb885132eb015a621d732acbf432ac145a8c5d","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: move dir_ino_validate declaration per xfsprogs\n\nMove the declaration of _dir_ino_validate out of the private\ndir2 header file into the public one, since xfsprogs did that\nfor the benefit of xfs_repair.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/58cb885132eb015a621d732acbf432ac145a8c5d"},{"sha":"921b7b380b4f8f97299044074c74bb3847bf0eca","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: check return value of _trans_reserve_quota_nblks\n\nCheck the return value of xfs_trans_reserve_quota_nblks for errors.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/921b7b380b4f8f97299044074c74bb3847bf0eca"},{"sha":"e9dc970afe2ecbf2d288d6109a446a7608ff746d","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: check minimum block size for CRC filesystems\n\nCheck the minimum block size on v5 filesystems.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/e9dc970afe2ecbf2d288d6109a446a7608ff746d"},{"sha":"00ecf3ac1758b078cd82caf3d2854df0e50e1c1b","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: always succeed when deduping zero bytes\n\nIt turns out that btrfs and xfs had differing interpretations of what\nto do when the dedupe length is zero.  Change xfs to follow btrfs'\nsemantics so that the userland interface is consistent.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/00ecf3ac1758b078cd82caf3d2854df0e50e1c1b"},{"sha":"ba4f8b30f5f4ce92fdc6e486f6c9b757b2b1fd4e","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/ba4f8b30f5f4ce92fdc6e486f6c9b757b2b1fd4e"},{"sha":"a6e891b493be3b3cb90d676fa1152bbf78aa8a29","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"vfs: check for overflow in iomap_apply\n\nFail in iomap_apply if pos and length would overflow, since we can't\nmap that.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/a6e891b493be3b3cb90d676fa1152bbf78aa8a29"},{"sha":"0451bfc6125e5577fedf2389a657dfed060ac13e","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/0451bfc6125e5577fedf2389a657dfed060ac13e"},{"sha":"c8ff183c445771060c9df25739e366ba34939a9b","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/c8ff183c445771060c9df25739e366ba34939a9b"},{"sha":"329e0471fbecef6bda302cc119758e1a99633864","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/329e0471fbecef6bda302cc119758e1a99633864"},{"sha":"af809f3a83a816e1bba7354a2587390efe97f9f9","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/af809f3a83a816e1bba7354a2587390efe97f9f9"},{"sha":"fcf193532d20c014f58fe640b65a0a4aca2cfeed","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/fcf193532d20c014f58fe640b65a0a4aca2cfeed"},{"sha":"3969cbb05656fe0bc092f816becbaf77afcb2465","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/3969cbb05656fe0bc092f816becbaf77afcb2465"},{"sha":"485c0b751a7017f0197b6442d2ab4f45789f503f","author":{"name":"Darrick J. Wong","email":"cc4714f43813eef13bbad6f462cc5bf35be00f12@oracle.com"},"message":"xfs: don't cap maximum dedupe request length\n\nAfter various discussions on linux-fsdevel, it has been decided that it\nis not necessary to cap the length of a dedupe request, and that\ncorrectly-written userspace client programs will be able to absorb the\nchange.  Therefore, remove the length clamping behavior.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","distinct":false,"url":"https://api.github.com/repos/djwong/linux/commits/485c0b751a7017f0197b6442d2ab4f45789f503f"},{"sha":"86593cb6cc73d1bd107e9daf0fbee1199d896e98","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":false,"url":"https://api.github.com/repos/djwong/linux/commits/86593cb6cc73d1bd107e9daf0fbee1199d896e98"}]}
{"actor":{"display_login":"djwong"}}