Sudheer Shanka
144e7cc25a
Merge "Add unmountTree to utils." am: a64572431e
am: f5b24f1015
...
am: e9c88c4c6c
Change-Id: Iae8f7c972272807f87b2ce9c4ba536cf6458d3cb
6 years ago
Sudheer Shanka
e9c88c4c6c
Merge "Add unmountTree to utils." am: a64572431e
...
am: f5b24f1015
Change-Id: I4e0a8b784b541013cf1028fbe1ed54dfd31d2782
6 years ago
Sudheer Shanka
f5b24f1015
Merge "Add unmountTree to utils."
...
am: a64572431e
Change-Id: Ifdbdc90e22b4a681dcf0766919807109cf78ffca
6 years ago
Sudheer Shanka
a64572431e
Merge "Add unmountTree to utils."
6 years ago
Sudheer Shanka
89ddf99119
Add unmountTree to utils.
...
Bug: 111890351
Test: builds without any errors
Change-Id: I62a94c9e8d101756b686b402774f08a1d71cf875
6 years ago
Daniel Rosenberg
2acacdb667
[automerger skipped] Merge "Add support for checkpointing" am: a3381ffc3f
am: 7e84915c17
...
am: 51ff91abda
-s ours
Change-Id: Ice08fc079b1cb8101ba375f65ad1afe81ca81a61
6 years ago
Daniel Rosenberg
51ff91abda
Merge "Add support for checkpointing" am: a3381ffc3f
...
am: 7e84915c17
Change-Id: I25333406617a7fcf2109aaa0448e6cc216bf5670
6 years ago
Daniel Rosenberg
7e84915c17
Merge "Add support for checkpointing"
...
am: a3381ffc3f
Change-Id: I52e70b0f886281280bb050751060b975e103376d
6 years ago
Treehugger Robot
a3381ffc3f
Merge "Add support for checkpointing"
6 years ago
TreeHugger Robot
e958124ae2
Merge "Add support for checkpointing"
6 years ago
Oleksiy Avramchenko
39f8497c52
Merge changes from topic "exfat-update" am: a2a227e382
am: 1fe4696cdd
...
am: b5b7a6f8c6
Change-Id: Iebcf9249acf4607ff6e24cc68d739e533024b267
6 years ago
Oleksiy Avramchenko
b5b7a6f8c6
Merge changes from topic "exfat-update" am: a2a227e382
...
am: 1fe4696cdd
Change-Id: I9cb8a26f769309ad16cf780c9a40d64af175a2c9
6 years ago
Oleksiy Avramchenko
1fe4696cdd
Merge changes from topic "exfat-update"
...
am: a2a227e382
Change-Id: I13daa826be04c72ab18175d3ceee6212b7304731
6 years ago
Treehugger Robot
a2a227e382
Merge changes from topic "exfat-update"
...
* changes:
Use exFAT for SDXC cards
Add GetBlockDevSize, GetBlockDevSectors helpers
6 years ago
Jeff Sharkey
dac54dce51
Merge "Update vold to log only debug or higher level messages." am: 9bd07d8760
am: 92c182e4c7
...
am: 3c5f603158
Change-Id: I2209a3208a26ae649b4d5dc1aa18d30b6a61afcb
6 years ago
Jeff Sharkey
3c5f603158
Merge "Update vold to log only debug or higher level messages." am: 9bd07d8760
...
am: 92c182e4c7
Change-Id: I62e7a0c1b2a3cc365e1a693599c15e47e2dffacf
6 years ago
Jeff Sharkey
92c182e4c7
Merge "Update vold to log only debug or higher level messages."
...
am: 9bd07d8760
Change-Id: Idd8482fc0287d51d962ead0dd4c1f8f8e514d9de
6 years ago
Jeff Sharkey
9bd07d8760
Merge "Update vold to log only debug or higher level messages."
6 years ago
Oleksiy Avramchenko
4cff06d45f
Use exFAT for SDXC cards
...
When both VFAT and exFAT are supported VFAT will only be used to
format card. Use exFAT for cards larger than 32GB per SDXC standard.
Test: build, manual, mount exFAT volume
Bug: 80202067
Change-Id: If504f9685256a669c5801a69d69d5a214ad27455
6 years ago
Oleksiy Avramchenko
625dc787c6
Add GetBlockDevSize, GetBlockDevSectors helpers
...
Helpers to get a block device size in bytes or 512 byte sectors,
using BLKGETSIZE64 and returning value of uint64_t type.
This also removes get_blkdev_size().
Test: build, manual, mount exFAT volume
Bug: 80202067
Change-Id: Ib07e8ac6ef7ff49de0ed570d1fa202e8b558b80c
6 years ago
Daniel Rosenberg
65f99c9e8b
Add support for checkpointing
...
Checkpointing uses a combination of files on the meta partition
and the checkpoint= fs_mgr flag. Checkpointed partitions will
revert to their starting state on reboot unless checkpoint commit
is called.
Test: Run vdc commands, check file on metadata
Merged-In: Icba16578608a6cbf922472e9d4ae5b8cf5f016c6
Change-Id: Icba16578608a6cbf922472e9d4ae5b8cf5f016c6
6 years ago
Daniel Rosenberg
4f68471119
Add support for checkpointing
...
Checkpointing uses a combination of files on the meta partition
and the checkpoint= fs_mgr flag. Checkpointed partitions will
revert to their starting state on reboot unless checkpoint commit
is called.
Test: Run vdc commands, check file on metadata
Change-Id: Icba16578608a6cbf922472e9d4ae5b8cf5f016c6
6 years ago
Yifan Hong
4af82eff5f
[automerger skipped] Merge "health.filesystem HAL renamed to health.storage" am: 15b9656ae9
am: e0a7888435
...
am: dff81bd879
-s ours
Change-Id: Ic6ac5ee9d497edfa29ebd274d1f03b1c69ec6e8a
6 years ago
Sudheer Shanka
4b6ca4ea65
Update vold to log only debug or higher level messages.
...
This will allow adding lots of verbose logs which can be enabled
only during local testing/debugging. Update the existing verbose
level logs to debug level since we want those to be logged by
default.
Test: manual
Change-Id: Ib05e2b6efa71308458d49affb6ed81d3975b28ab
6 years ago
Paul Crowley
bece484748
[automerger skipped] Merge "clang-format the rest of the files" am: 1934619b8b
am: 50cd072d3b
...
am: 9a86cd8b88
-s ours
Change-Id: I1f20de3736fcfbabae70aa416673b99d1fb0eb65
6 years ago
Yifan Hong
dff81bd879
Merge "health.filesystem HAL renamed to health.storage" am: 15b9656ae9
...
am: e0a7888435
Change-Id: I26e80444b42a995d4f9f5d66373b7a0286d010b4
6 years ago
Paul Crowley
9a86cd8b88
Merge "clang-format the rest of the files" am: 1934619b8b
...
am: 50cd072d3b
Change-Id: Id328f17935b691a19cad3ab0846f7b7dba84eb4e
6 years ago
Yifan Hong
e0a7888435
Merge "health.filesystem HAL renamed to health.storage"
...
am: 15b9656ae9
Change-Id: Id587f968eea321254589a0d0f3cd5fc23be56739
6 years ago
Paul Crowley
50cd072d3b
Merge "clang-format the rest of the files"
...
am: 1934619b8b
Change-Id: I6265495330a13f687628b2143b9f78eb25380104
6 years ago
Yifan Hong
15b9656ae9
Merge "health.filesystem HAL renamed to health.storage"
6 years ago
Treehugger Robot
1934619b8b
Merge "clang-format the rest of the files"
6 years ago
Paul Crowley
8915d62847
clang-format the rest of the files
...
Apply clang-format to fix the remaining files not fixed by
change I23cde3f0bbcac13bef555d13514e922c79d5ad48
Test: Format-only changes; treehugger suffices.
Change-Id: I1bfd5c8d68d298596875d5edae26cdfe27c03489
Merged-In: I1bfd5c8d68d298596875d5edae26cdfe27c03489
6 years ago
Paul Crowley
edf7a4eb95
clang-format the rest of the files
...
Apply clang-format to fix the remaining files not fixed by
change I23cde3f0bbcac13bef555d13514e922c79d5ad48
Test: Format-only changes; treehugger suffices.
Change-Id: I1bfd5c8d68d298596875d5edae26cdfe27c03489
6 years ago
Paul Crowley
b2efa615db
Merge "clang-format many files." am: a676df01e2
am: 957b9544dd
...
am: 8b2b67bc1e
Change-Id: Iad04e9517cd01e2ea13281b31e7b13ae75414d7e
6 years ago
Paul Crowley
8b2b67bc1e
Merge "clang-format many files." am: a676df01e2
...
am: 957b9544dd
Change-Id: I1491697e406ab4362625cffeacff4629a1faf7c2
6 years ago
Paul Crowley
957b9544dd
Merge "clang-format many files."
...
am: a676df01e2
Change-Id: Iecaed7fd342df49d628c2bc68f1bf5439163d918
6 years ago
Paul Crowley
a676df01e2
Merge "clang-format many files."
6 years ago
Yifan Hong
91a68dfc98
health.filesystem HAL renamed to health.storage
...
Bug: 111655771
Test: compiles
Change-Id: Ibfcab4d116d735ba2f80a8b0ead314138a7ba23d
Merged-In: Ibfcab4d116d735ba2f80a8b0ead314138a7ba23d
6 years ago
Yifan Hong
7a37c93825
health.filesystem HAL renamed to health.storage
...
Bug: 111655771
Test: compiles
Change-Id: Ibfcab4d116d735ba2f80a8b0ead314138a7ba23d
6 years ago
Paul Crowley
d6366c79c8
[automerger skipped] Merge "vold: metadata encryption: ensure F2FS GC targets correct device." am: 3adf30745a
am: 61ab6986a6
-s ours
...
am: 479759618d
-s ours
Change-Id: Ib483e983a9e80e97f892ff08594c6e4b73acd990
6 years ago
Paul Crowley
479759618d
[automerger skipped] Merge "vold: metadata encryption: ensure F2FS GC targets correct device." am: 3adf30745a
...
am: 61ab6986a6
-s ours
Change-Id: I94fb53a5098a8ab55b8079b2810ae011b6dcc5d8
6 years ago
Paul Crowley
61ab6986a6
Merge "vold: metadata encryption: ensure F2FS GC targets correct device."
...
am: 3adf30745a
Change-Id: I9df60bbc12d7c70c0bd0fbda1e8604051306a8ee
6 years ago
Paul Crowley
3adf30745a
Merge "vold: metadata encryption: ensure F2FS GC targets correct device."
6 years ago
Paul Crowley
14c8c0765a
clang-format many files.
...
Test: Format-only changes; treehugger suffices.
Change-Id: I23cde3f0bbcac13bef555d13514e922c79d5ad48
6 years ago
Jaegeuk Kim
1251ef0bcf
vold: metadata encryption: ensure F2FS GC targets correct device.
...
This fixes F2FS GC failure in idle-maint.
Bug: 111953875
Change-Id: I1d10802121d5641cf9ba780fee249affd2cf6ffe
Merged-In: I1d10802121d5641cf9ba780fee249affd2cf6ffe
Test: Tested by hand
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
6 years ago
Roman Kiryanov
fe8a9aedd2
[automerger skipped] Merge "Do not crash if secontext is nullptr" am: 6418bb7d34
am: 95d26139a4
...
am: 598cc7a7af
-s ours
Change-Id: I4536831abc130299e7d1e61dccf42c06c42a5746
6 years ago
Roman Kiryanov
598cc7a7af
Merge "Do not crash if secontext is nullptr" am: 6418bb7d34
...
am: 95d26139a4
Change-Id: Ib169be64e25377e88ae32cedc1b0dad7403a5876
6 years ago
Roman Kiryanov
95d26139a4
Merge "Do not crash if secontext is nullptr"
...
am: 6418bb7d34
Change-Id: Iad725cb3c6a40a0917106dee3b2b604b1cb921a5
6 years ago
Treehugger Robot
6418bb7d34
Merge "Do not crash if secontext is nullptr"
6 years ago
Roman Kiryanov
bda3032fcc
Do not crash if secontext is nullptr
...
LOG(DEBUG) tries to print a string pointed by secontext.get() but
crashed if it was nullptr.
Bug: 111888637
Test: "make -j50" and ran emulator
Change-Id: Iac78f650e7f48781030dc610f7d35cd52c250802
Merged-In: Iac78f650e7f48781030dc610f7d35cd52c250802
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years ago