[SERVER-15907] Use ftruncate rather than fallocate when running on tmpfs Created: 31/Oct/14  Updated: 17/Mar/15  Resolved: 31/Oct/14

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 2.6.9, 2.8.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Backport Completed:
Participants:

 Comments   
Comment by Githook User [ 12/Mar/15 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-15907 Use ftuncate rather than fallocate on linux tmpfs

This means we don't use any ram for unused portions of files.

(cherry picked from commit a2c27b34b811d73a42ddecab20e9f8cb6348a1a3)
Branch: v2.6
https://github.com/mongodb/mongo/commit/f6debcc8c2884c60a1d694e35089c2950cccb946

Comment by Daniel Pasette (Inactive) [ 20/Feb/15 ]

This is approved for backport to 2.6.9

Comment by Githook User [ 31/Oct/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-15907 Use ftuncate rather than fallocate on linux tmpfs

This means we don't use any ram for unused portions of files.
Branch: master
https://github.com/mongodb/mongo/commit/a2c27b34b811d73a42ddecab20e9f8cb6348a1a3

Generated at Thu Feb 08 03:39:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.