Implement OI Scrub for ZFS (LU-7585)

[LU-10186] OI compatibility between ldiskfs and ZFS Created: 02/Nov/17  Updated: 17/Dec/17  Resolved: 17/Dec/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0

Type: Technical task Priority: Minor
Reporter: nasf (Inactive) Assignee: nasf (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

For ZFS backend, the OI mapping for LAST_ID is put under the oi.xx file, it may cause some issues:

1) If we remove the oi.xx file, then before the OI scrub scanned the whole device, we can not know the last ID for related sequence. That will fail the system start as to the OI scrub will be stopped by force.

2) It is incompatible with ldiskfs backend, that will cause trouble when MDT file level restore from ldiskfs backup.



 Comments   
Comment by nasf (Inactive) [ 05/Nov/17 ]

Here is the patch:
https://review.whamcloud.com/#/c/28679/

Comment by Gerrit Updater [ 17/Dec/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28679/
Subject: LU-10186 osd-zfs: move LAST_ID OI mapping out of oi.xx
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e95e4d3227fdf9777b58600b39173d1c6bde61bb

Comment by Peter Jones [ 17/Dec/17 ]

Landed for 2.11

Generated at Sat Feb 10 02:32:49 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.