summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-06-24 18:04:21 +0300
committerChandan Babu R <chandanbabu@kernel.org>2024-07-01 07:02:29 +0300
commit3ba3ab1f6719287674cf77a1208944cf38ef71c7 (patch)
tree6e9b7392ded1367bc32f0ae079236ba2931705af /scripts
parenta330cae8a7147890262b06e1aa13db048e3b130f (diff)
downloadlinux-3ba3ab1f6719287674cf77a1208944cf38ef71c7.tar.xz
xfs: enable FITRIM on the realtime device
Implement FITRIM for the realtime device by pretending that it's "space" immediately after the data device. We have to hold the rtbitmap ILOCK while the discard operations are ongoing because there's no busy extent tracking for the rt volume to prevent reallocations. Cc: Konst Mayer <cdlscpmv@gmail.com> Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions