Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars

Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
15 May 18 21:58
Jamey Kirby
Join Date: 31 Dec 2014
Posts To This List: 58
Windows dedupe and volume filter

I have a driver that updates a bitmap file on the volume to indicate changed blocks. I bypass the FS when updating the clusters so that I do not get a deadlock going through the FS. This driver works exceptionally well until Windows Deduplication is enabled. It appears that the clusters occupied by my bitmap are being moved. This results in me overwriting random data that may not be in the location where my retrieval pointes used to say were owned by the files. When I open the file, I send control to FS to lock the clusters in place. This was added to prevent defrag from moving my data. I would assume that locking these clusters would also prevent deduplication from moving the clusters. Apparently, it does not. I am looking for a way around this issue. Is there a way to prevent a file from being subject to deduplication? It seems that the MS deduplication is a little lacking in third party APIs. Any help would be appreciated. -- Jamey
  Message 2 of 2  
16 May 18 00:27
Jamey Kirby
Join Date: 31 Dec 2014
Posts To This List: 58
Windows dedupe and volume filter

I think I have figured it out. There is a mechanism to exclude files from deduplication optimization based on file extension, so I added an extension to the file, and then exclude that file extension. We'll see how that works.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 23:48.

Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license