Jira (PUP-6185) Windows stat / lstat are inefficient - may calculate mode too frequently

2 views
Skip to first unread message

Ethan Brown (JIRA)

unread,
Apr 19, 2016, 12:58:02 AM4/19/16
to puppe...@googlegroups.com
Ethan Brown created an issue
 
Puppet / Bug PUP-6185
Windows stat / lstat are inefficient - may calculate mode too frequently
Issue Type: Bug Bug
Affects Versions: PUP 4.4.1
Assignee: Unassigned
Created: 2016/04/18 9:57 PM
Fix Versions: PUP 4.5.0
Labels: windows
Priority: Normal Normal
Reporter: Ethan Brown

Based on how stat and lstat are patched in Windows, there are a couple of problems:

To fix this, first capture the non-Windows behavior in tests. Find out if stat / lstat types are calculated immediately or not (as class methods, I would presume they're asked for then immediately thrown away). Similarly, ensure the behavior of the patched mode is consistent with other platforms.

The goal is to ensure that our file system access patterns are inline with the semantics that these APIs normally impose.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Steve Barlow (JIRA)

unread,
Apr 20, 2016, 1:41:12 PM4/20/16
to puppe...@googlegroups.com

Craig Gomes (JIRA)

unread,
Apr 25, 2016, 5:06:18 PM4/25/16
to puppe...@googlegroups.com
Craig Gomes commented on Bug PUP-6185
 
Re: Windows stat / lstat are inefficient - may calculate mode too frequently

Per backlog grooming, need more information. What is acceptance criteria? Current number of calls vs. expected number of calls.

If part of 4.5 needs to be done by 5/9

Craig Gomes (JIRA)

unread,
May 3, 2016, 4:39:03 PM5/3/16
to puppe...@googlegroups.com
Craig Gomes updated an issue
 
Change By: Craig Gomes
Sprint: Windows 2016- 05 06 - 18 01

Craig Gomes (JIRA)

unread,
May 3, 2016, 4:39:03 PM5/3/16
to puppe...@googlegroups.com
Craig Gomes updated an issue
Change By: Craig Gomes
Fix Version/s: PUP 4.5.0
Fix Version/s: PUP 4.y

Steve Barlow (JIRA)

unread,
May 9, 2016, 4:57:06 PM5/9/16
to puppe...@googlegroups.com

Craig Gomes (JIRA)

unread,
May 23, 2016, 4:31:05 PM5/23/16
to puppe...@googlegroups.com

Craig Gomes (JIRA)

unread,
Jun 6, 2016, 5:15:08 PM6/6/16
to puppe...@googlegroups.com
Craig Gomes updated an issue
Change By: Craig Gomes
Sprint: Windows 2016- 06 008 - 29 10

Kenaz Kwa (JIRA)

unread,
Jun 16, 2016, 2:38:03 PM6/16/16
to puppe...@googlegroups.com

Kenaz Kwa (JIRA)

unread,
Aug 29, 2016, 7:20:03 PM8/29/16
to puppe...@googlegroups.com
Kenaz Kwa updated an issue
Change By: Kenaz Kwa
Team: Agent & Platform Support

Ethan Brown (JIRA)

unread,
May 16, 2017, 5:19:04 PM5/16/17
to puppe...@googlegroups.com
Ethan Brown updated an issue
Change By: Ethan Brown
Fix Version/s: PUP 4.y
Fix Version/s: PUP 5.y
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Sean McDonald (JIRA)

unread,
May 16, 2017, 5:19:05 PM5/16/17
to puppe...@googlegroups.com

Ethan Brown (JIRA)

unread,
May 16, 2017, 5:20:04 PM5/16/17
to puppe...@googlegroups.com

Sean McDonald (JIRA)

unread,
May 16, 2017, 5:20:04 PM5/16/17
to puppe...@googlegroups.com

Ethan Brown (JIRA)

unread,
May 16, 2017, 5:20:08 PM5/16/17
to puppe...@googlegroups.com
Ethan Brown updated an issue
Change By: Ethan Brown
Labels: tech-debt triaged windows

Karen Van der Veer (JIRA)

unread,
Aug 1, 2017, 7:25:04 PM8/1/17
to puppe...@googlegroups.com

Karen Van der Veer (JIRA)

unread,
Aug 9, 2017, 1:43:03 PM8/9/17
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jun 8, 2018, 5:31:02 PM6/8/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Platform Core Windows
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (Jira)

unread,
May 17, 2023, 2:11:02 PM5/17/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Windows Phoenix
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Josh Cooper (Jira)

unread,
May 17, 2023, 2:11:02 PM5/17/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Labels: performance tech-debt windows

Josh Cooper (Jira)

unread,
May 17, 2023, 2:11:03 PM5/17/23
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages