Whamcloud - gitweb
LU-11355 lustre: enable fstrim on lustre device 96/35196/2
authorWang Shilong <wshilong@ddn.com>
Thu, 11 Apr 2019 00:40:23 +0000 (08:40 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 25 Jun 2019 02:20:15 +0000 (02:20 +0000)
commita1ccd957f0667398a1685dd1932bf35153a7f160
treea4d204dee62121a808738125fd564bfa4122664a
parentfce8d80624fd728f5e2d98e039218ac020253675
LU-11355 lustre: enable fstrim on lustre device

pass the FITRIM ioctl through the OST/MDT
mountpoint to the underlying filesystem, which
allows us to run fstrim on server mount point directly.

Lustre-change: https://review.whamcloud.com/33131
Lustre-commit: d5be104cc9b0c7a71b30aa5feb16873aa30803a9

Change-Id: Ia6f9b43e48245ee7907a47f05c3924b3640bc734
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35196
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/dt_object.h
lustre/obdclass/obd_mount_server.c
lustre/osd-ldiskfs/osd_handler.c