1. A method for a file system to perform a redundancy consistency recovery operation for a file on a storage system without using any redundancy consistency mechanism of the storage system, comprising:
a file system receiving data modification requests each indicating data modifications to a file on a storage system, wherein the storage system comprises a plurality of storage devices configured to store data and redundancy data for the file;
for each data modification request:
the file system saving dirty file information at a file system level, wherein the dirty file information is separate from the data and redundancy data for the file, wherein the dirty file information indicates one or more portions of the file to be modified, wherein the one or more portions correspond to the indicated data modifications; and
the file system performing the indicated data modifications on the storage system, wherein said performing comprises storing redundancy data for the indicated data modifications, wherein the data modifications and redundancy data are stored on the storage system and are stored separately from the dirty file information; and
performing a redundancy consistency recovery operation for the file on the storage system without using any redundancy consistency mechanism of the storage system, wherein the redundancy consistency recovery operation uses the dirty file information.
2. The method of claim 1, wherein said saving dirty file information comprises saving the dirty file information in a file system log.
3. The method of claim 1, further comprising:
determining that the modifications to the one or more portions of a file to be modified have been completed on the storage system; and
updating the saved dirty file information to indicate that the modifications to the one or more portions of the file to be modified have been completed on the storage system.
4. The method of claim 3, wherein said updating is performed as part of saving, at the file system level, metadata modifications for each file.
5. The method of claim 1, wherein said performing a redundancy consistency recovery operation for the file on the storage system without using any redundancy consistency mechanism of the storage system further comprises:
retrieving the saved dirty file information from the file system; and
recovering redundancy consistency for each file indicated by the dirty file information, wherein said recovering redundancy consistency comprises updating redundancy data for each indicated file.
6. The method of claim 5, wherein the redundancy consistency recovery operation further comprises recovering redundancy consistency for the file system dirty file information on the storage system prior to said retrieving the saved dirty file information.
7. The method of claim 5, wherein said retrieving the saved dirty file information from the file system comprises reading the saved dirty file information from a file system log.
8. The method of claim 7, further comprising:
performing a redundancy consistency recovery operation on the storage system, wherein the redundancy consistency recovery operation comprises:
retrieving information from the file system indicating metadata modifications for one or more files; and
modifying metadata for one or more files on the storage system as indicated by the information retrieved from the file system, wherein said modifying comprises modifying the metadata for each of the one or more files on the storage system.
9. The method of claim 7, further comprising:
recovering redundancy consistency for the file system log on the storage system without using any redundancy consistency mechanism of the storage system, wherein said recovering redundancy consistency for the file system log comprises:
identifying one or more log entries of the file system log that are known to have redundancy consistency; and
recovering redundancy consistency for one or more remaining log entries not known to have redundancy consistency, wherein said recovering redundancy consistency comprises updating redundancy data for the one or more remaining log entries.
10. The method of claim 9, wherein the storage system comprises a plurality of mirrors; and wherein said updating redundancy data for the one or more remaining log entries comprises copying the one or more remaining log entries from one of the mirrors to each other mirror.
11. The method of claim 9, wherein the storage system comprises a RAID configuration; and wherein said updating redundancy data for the one or more remaining log entries comprises updating redundancy data for one or more RAID stripes corresponding to the remaining log entries.
12. A device, comprising:
a processor; and
a memory coupled to the processor, wherein the memory comprises program instructions executable by the processor to implement a file system configured to:
receive data modification requests each indicating data modifications to a file on a storage system, wherein the storage system comprises a plurality of storage devices configured to store data and redundancy data for the file; for each data modification request:
save dirty file information and metadata information for the data modification request to a log or journal of the file system, wherein the dirty file information and metadata information are separate from the data and redundancy data for the file, wherein the dirty file information indicates one or more portions of the file to be modified, wherein the one or more portions correspond to the indicated data modifications; and wherein the metadata information is saved to the log or journal of the file system using an IO operation and the dirty file information is saved to the log or journal of the file system without incurring an additional IO operation;
perform the indicated data modifications on the storage system; and
perform a redundancy consistency recovery operation for the file on the storage system without using any redundancy consistency mechanism of the storage system, wherein the redundancy consistency recovery operation uses the dirty file information.
13. The device of claim 12, wherein the program instructions are further configured to:
determine that the modifications to the one or more portions of a file to be modified have been completed on the storage system; and
update the saved dirty file information to indicate that the modifications to the one or more portions of the file to be modified have been completed on the storage system.
14. The device of claim 12, wherein the program instructions are further configured to:
perform the redundancy consistency recovery operation on the storage system, wherein the redundancy consistency recovery operation comprises:
retrieving the saved dirty file information from the file system; and
recover redundancy consistency for each file indicated by the dirty file information, wherein said recovering redundancy consistency comprises updating redundancy data for each indicated file.
15. A method for recovering redundancy consistency for a storage system comprising a plurality of storage devices configured to store data and redundancy data, comprising:
recovering redundancy consistency for saved dirty file information on a storage system, wherein the dirty file information indicates one or more portions of one or more files that are known to have redundancy consistency on the storage system, wherein said recovering redundancy consistency comprises verifying redundancy data for the dirty file information to ensure a consistent state of the saved dirty file information;
retrieving said saved dirty file information from a file system; and
subsequent to said recovering redundancy consistency for saved dirty file information and subsequent to said retrieving said saved dirty file information, recovering redundancy consistency for one or more remaining portions of one or more files, wherein said recovering redundancy consistency comprises updating redundancy data for the one or more remaining portions of each file as indicated by the dirty file information.
16. The method of claim 15, wherein said retrieving saved dirty file information from a file system comprises reading the saved dirty file information from a file system log.
17. The method of claim 15, wherein the storage system comprises a plurality of mirrors; and wherein said updating redundancy data comprises copying the one or more remaining portions of each file, as indicated by the dirty file information, from one mirror to each other mirror.
18. The method of claim 17, wherein said copying comprises saving information to enable a redundancy consistency mechanism of the storage system to copy the one or more remaining portions from one of the mirrors to each of the other mirrors.
19. The method of claim 15, wherein the storage system comprises a RAID configuration; and wherein said updating redundancy data comprises updating redundancy data for one or more RAID stripes corresponding to the one or more remaining portions of the one or more files.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A camera apparatus comprising:
a camera main body having a single plate type imaging section; and
a handle mounting section for mounting a handle on an upper portion of the camera main body,
wherein a lens for a three-plate type imaging section can be mounted on a lens mount section of a front portion of the camera main body via a mount adapter, and
the handle mounting section mounts the handle on the upper portion of the camera main body so as to be able to move in a front-back direction.
2. The camera apparatus according to claim 1, wherein the handle mounting section has a lock mechanism which fixes a position in the front-back direction of the handle to an arbitrary position.
3. The camera apparatus according to claim 1, wherein the handle has a viewfinder mounting section for mounting a viewfinder.
4. The camera apparatus according to claim 1, further comprising:
a shoulder adapter mounting section for mounting a shoulder adapter on a lower portion of the camera main body,
wherein the shoulder adapter mounting section mounts the shoulder adapter on the lower portion of the camera main body so as to be able to move in the front-back direction.
5. The camera apparatus according to claim 4, further comprising:
a support mechanism which supports the mount adapter by using a rod-like portion provided on the shoulder adapter so as to protrude in a front direction.
6. The camera apparatus according to claim 1, wherein the mount adapter has
a lens unit which leads a light beam that is incident from the lens for a three-plate type imaging section to the single plate type imaging section of the camera main body, and
a filter disk unit having a predetermined type of filter for adjusting a light quantity of the light beam.
7. A mount adapter comprising:
a first mount section which is connected to a lens mount section of a front portion of a camera main body having a single plate type imaging section;
a second mount section for connecting a lens for a three-plate type imaging section; and
a lens unit which emits a light beam that is incident on the second mount section, from the first mount section.
8. The mount adapter according to claim 7, further comprising:
a filter disk unit having a predetermined type of filter for adjusting a light quantity of a light beam incident on the second mount section.
9. The mount adapter according to claim 7, wherein the first mount section is an FZ mount and the second mount section is a B4 mount.
10. A camera apparatus comprising:
a camera main body having a single plate type imaging section;
a lens for a three-plate type imaging section; and
a mount adapter which is interposed between the camera main body and the lens.