Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the 
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=3244



Created an attachment (id=9469)
Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the 
following link:
 --> (https://bugzilla.lustre.org/attachment.cgi?id=9469&action=view)
Changes to e2fsck for condition when directory has link count of 1, but all
subdirectories are deleted.

This patch uses the logic that a directory can have a nlink = 1, only if the
subdirectory count had ever crossed 65000. So we check that if inode is a
directory and its link_count as read from disk is 1, then we do not report
BAD_REF_COUNT problem.

Even if the link count for a directory has become 1 due to corruption instead
of
subdir count exceeding 65000, it will not cause any further corruption.

_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

Reply via email to