Re: ZwCloseHandle asynchronous on no read/write activity?





I think the FS should queue the request, ie internally delay the
actual processing of the close/cleanup IRP even with STATUS_SUCCESS
return.

and "delete-on-close" should be delayed too.

I believe this is both true for NTFS & FAT.

but this should be properly documented like it is done for other OSes.

micro optimizing one call, you can't fully peg the CPU in all paths

why not, it does not take much time anyway. :)

regards, dmitry


Doron Holan [MS] wrote:
close handle is synchronous. it sends a cleanup and possibly a close irp to
the FS. what the FS does with that is dependent on the FS. i think you are
micro optimizing one call, you can't fully peg the CPU in all paths ;)

.



Relevant Pages

  • [PATCH] add block IO documentation to tracepoint docbook
    ... queue containing the block operation request ... * @q: queue holding operation ... * data between the @bio data memory area and the IO device. ...
    (Linux-Kernel)
  • [PATCH 03/10] Modify cfq to make use of flat elevator fair queuing
    ... Per block device queue structure ... struct list_head cic_list; ... * We regard a request as SYNC, if it's either a read or has the SYNC bit ... * Called when the cfqq no longer has requests pending, ...
    (Linux-Kernel)
  • Re: Event handling mechanism in Windows
    ... In case of PS/2 style keyboard, the interrupt is generated by ... APC to queue this APC request to? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: which pattern to use...
    ... Pick from queue. ... readup and it says pass it as string, then parse the string in the ... Then Request gets the next module, checks its type, ... Module.processwith the data packet object. ...
    (comp.object)
  • Re: Sample Logon Script
    ... > Re-entered push account and here is some of the CCM.log ... > Submitted request successfully SMS_CLIENT_CONFIG_MANAGER ... > name "ZRWKSHYMAN", in queue "Processing". ... > ---> Trying each entry in the SMS Client Remote ...
    (microsoft.public.sms.admin)

Loading