Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 6 months agoDefragged Zebrash.itjust.worksimagemessage-square49fedilinkarrow-up11.11Karrow-down114
arrow-up11.1Karrow-down1imageDefragged Zebrash.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 6 months agomessage-square49fedilink
minus-squareAlawamilinkfedilinkarrow-up1·edit-26 months agoI’m pretty sure running XFS defrag will defrag without trimming no matter the type of block device. Edit: yea you might actually be right. I Played with my fstab too much years ago, and never thought of that untill now
minus-squareLazerFX@sh.itjust.workslinkfedilinkEnglisharrow-up2·6 months agoI understood that XFS automatically mounted SSD’s with XFS_XFLAG_NODEFRAG set? Is this not the case?
minus-squareAlawamilinkfedilinkarrow-up2·6 months agoyea you might actually be right. I Played with my fstab too much years ago, and never thought of that until now But does that flag affect manually running xfs_fsr?
minus-squareLazerFX@sh.itjust.workslinkfedilinkEnglisharrow-up2·6 months agoAccording to the man(8) page, it will avoid touching any blocks that have the chattr -f flag set, which is XSR_XFLAGS_NODEFRAG… So I think if the docs are still accurate to the code, yes. A lot of ifs in that assumption.
I’m pretty sure running XFS defrag will defrag without trimming no matter the type of block device.
Edit: yea you might actually be right. I Played with my fstab too much years ago, and never thought of that untill now
I understood that XFS automatically mounted SSD’s with XFS_XFLAG_NODEFRAG set? Is this not the case?
yea you might actually be right. I Played with my fstab too much years ago, and never thought of that until now
But does that flag affect manually running xfs_fsr?
According to the man(8) page, it will avoid touching any blocks that have the
chattr -f
flag set, which is XSR_XFLAGS_NODEFRAG… So I think if the docs are still accurate to the code, yes.A lot of ifs in that assumption.