summaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
authorWang Shilong2019-04-14 05:31:56 +0200
committerKarel Zak2019-04-15 11:12:55 +0200
commit8302b2009a5584c7503ff4c63eaf9f701836b46f (patch)
tree50711892a821bedf20a98ebbb5fbaaa6b0ac9f86 /libmount/src
parenttests: update lscpu due to 'Vulnerability' fields (diff)
downloadkernel-qcow2-util-linux-8302b2009a5584c7503ff4c63eaf9f701836b46f.tar.gz
kernel-qcow2-util-linux-8302b2009a5584c7503ff4c63eaf9f701836b46f.tar.xz
kernel-qcow2-util-linux-8302b2009a5584c7503ff4c63eaf9f701836b46f.zip
fstrim: get realpath before trim ioctl
Original motivation is we want to run fstrim command on Lustre[1] osd server mount point directly, however our server mount point doesn't export osd directory to users, and it will cause following command fail: $fstrim -v /mnt/mds/ But following succeed: $fstrim -v /mnt/mds We could improve this a bit by getting realpath before trapping kernel, this also give benifits to normal use cases. Cc: Andreas Dilger <adilger@dilger.ca> Cc: Shuichi Ihara <sihara@ddn.com> [1] http://wiki.lustre.org/Main_Page Signed-off-by: Wang Shilong <wshilong@ddn.com>
Diffstat (limited to 'libmount/src')
0 files changed, 0 insertions, 0 deletions